Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
blocktrron committed Apr 19, 2024
1 parent f0c542b commit 92cbc6f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ static int nw_interface_enabled(struct nw *instance, const char *name)
hostapd_name = (char *)name + strlen(UBUS_HOSTAPD_PREFIX);

list_for_each_entry(iface, &instance->enabled_interfaces, list) {
if (!strcmp(hostapd_name, name)) {
log_debug("Check if interface matches ubus name interface=%s ubus=%s", iface->name, hostapd_name);
if (!strcmp(hostapd_name, iface->name)) {
return 1;
}
}
Expand Down

0 comments on commit 92cbc6f

Please sign in to comment.