summaryrefslogtreecommitdiffstats
path: root/package/madwifi/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/madwifi/files')
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh
index 9d539a08b..e24730f90 100755
--- a/package/madwifi/files/lib/wifi/madwifi.sh
+++ b/package/madwifi/files/lib/wifi/madwifi.sh
@@ -148,10 +148,8 @@ enable_atheros() {
iwconfig "$ifname" ap "$addr"
}
;;
- *)
- config_get ssid "$vif" ssid
- ;;
esac
+ config_get ssid "$vif" ssid
[ "$mode" = "sta" ] && {
config_get_bool bgscan "$vif" bgscan 1