summaryrefslogtreecommitdiff
path: root/package/kernel/mac80211/files/lib
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-05-03 21:14:59 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-05-03 21:14:59 +0000
commitbc861197855aa89eef2e887c5655b58279b473a7 (patch)
tree1574c0a3a80076fd56d28de4624763e374676821 /package/kernel/mac80211/files/lib
parentc9b99da7a5e4cb9d63d841a6e282ce59df6df57c (diff)
downloadmtk-20170518-bc861197855aa89eef2e887c5655b58279b473a7.zip
mtk-20170518-bc861197855aa89eef2e887c5655b58279b473a7.tar.gz
mtk-20170518-bc861197855aa89eef2e887c5655b58279b473a7.tar.bz2
mac80211: remove mode_11n variable for hwmode - the option only selects the band now
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40693
Diffstat (limited to 'package/kernel/mac80211/files/lib')
-rw-r--r--package/kernel/mac80211/files/lib/wifi/mac80211.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/kernel/mac80211/files/lib/wifi/mac80211.sh b/package/kernel/mac80211/files/lib/wifi/mac80211.sh
index 1f69b47..dc3c903 100644
--- a/package/kernel/mac80211/files/lib/wifi/mac80211.sh
+++ b/package/kernel/mac80211/files/lib/wifi/mac80211.sh
@@ -66,7 +66,6 @@ detect_mac80211() {
config_foreach check_mac80211_device wifi-device
[ "$found" -gt 0 ] && continue
- mode_11n=""
mode_band="g"
channel="11"
htmode=""
@@ -95,7 +94,7 @@ detect_mac80211() {
config wifi-device radio$devidx
option type mac80211
option channel ${channel}
- option hwmode 11${mode_11n}${mode_band}
+ option hwmode 11${mode_band}
$dev_id
$ht_capab
# REMOVE THIS LINE TO ENABLE WIFI: