diff --git a/package/base-files/files/sbin/wifi b/package/base-files/files/sbin/wifi index d877c73980..272aa16fa3 100755 --- a/package/base-files/files/sbin/wifi +++ b/package/base-files/files/sbin/wifi @@ -14,7 +14,7 @@ find_net_config() {( include /lib/network scan_interfaces - config_get ifname "$vif" ifnamea + config_get ifname "$vif" ifname cfg="$(find_config "$ifname")" }