diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-05-03 21:14:59 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-05-03 21:14:59 +0000 |
commit | 4c8f689bce8cb54c5d1615257420035ce001bade (patch) | |
tree | ee0f4430b56f9b10486a2b80692de27a6b996730 /package/kernel/mac80211/files/lib/wifi/mac80211.sh | |
parent | bf55314c5f99f07a951d854338c7254a477f7cf1 (diff) | |
download | master-187ad058-4c8f689bce8cb54c5d1615257420035ce001bade.tar.gz master-187ad058-4c8f689bce8cb54c5d1615257420035ce001bade.tar.bz2 master-187ad058-4c8f689bce8cb54c5d1615257420035ce001bade.zip |
mac80211: remove mode_11n variable for hwmode - the option only selects the band now
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40693 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/mac80211/files/lib/wifi/mac80211.sh')
-rw-r--r-- | package/kernel/mac80211/files/lib/wifi/mac80211.sh | 3 |
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 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: |