diff options
Diffstat (limited to 'package/madwifi/files')
-rwxr-xr-x | package/madwifi/files/lib/wifi/madwifi.sh | 3 | ||||
-rw-r--r-- | package/madwifi/files/madwifi.init | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index de9870ce6..dd030ba16 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;; diff --git a/package/madwifi/files/madwifi.init b/package/madwifi/files/madwifi.init deleted file mode 100644 index 0c3ad3c3c..000000000 --- a/package/madwifi/files/madwifi.init +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh /etc/rc.common -START=20 -boot() { - iwpriv ath0 mode 3 -} |