From bc861197855aa89eef2e887c5655b58279b473a7 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 3 May 2014 21:14:59 +0000 Subject: [PATCH] mac80211: remove mode_11n variable for hwmode - the option only selects the band now Signed-off-by: Felix Fietkau SVN-Revision: 40693 --- package/kernel/mac80211/files/lib/wifi/mac80211.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package/kernel/mac80211/files/lib/wifi/mac80211.sh b/package/kernel/mac80211/files/lib/wifi/mac80211.sh index 1f69b47193..dc3c9037d7 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: -- 2.25.1