diff options
Diffstat (limited to 'package/madwifi/files/lib/wifi')
-rwxr-xr-x | package/madwifi/files/lib/wifi/madwifi.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index de9870ce65..dd030ba169 100755 --- a/package/madwifi/files/lib/wifi/madwifi.sh +++ b/package/madwifi/files/lib/wifi/madwifi.sh @@ -154,6 +154,9 @@ enable_atheros() { } config_set "$vif" ifname "$ifname" + config_get "$device" mode + iwpriv "$ifname" mode "${mode:-11g}" + config_get wds "$vif" wds case "$wds" in 1|on|enabled) wds=1;; |