diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-11-27 21:21:28 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-11-27 21:21:28 +0000 |
commit | 5180ca317c94acb38ddcece901ac5d27c5911233 (patch) | |
tree | 0757aab1286bf7b22c4d685396f897e33981a2ff /package/mac80211/files/lib/wifi | |
parent | 27d58c3312dbbeeb9a8c562a1b2f784e31aa0364 (diff) | |
download | upstream-5180ca317c94acb38ddcece901ac5d27c5911233.tar.gz upstream-5180ca317c94acb38ddcece901ac5d27c5911233.tar.bz2 upstream-5180ca317c94acb38ddcece901ac5d27c5911233.zip |
mac80211: fix a typo in the mac80211.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18567 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/files/lib/wifi')
-rw-r--r-- | package/mac80211/files/lib/wifi/mac80211.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh index 591d978da3..b7984a3b7f 100644 --- a/package/mac80211/files/lib/wifi/mac80211.sh +++ b/package/mac80211/files/lib/wifi/mac80211.sh @@ -309,7 +309,7 @@ detect_mac80211() { [ "$ht_cap" -gt 0 ] && { mode_11n="n" list=" list ht_capab" - [ "$(($ht_cap & 2))" -eq 1 ] && append ht_capab "$list LDPC" "$N" + [ "$(($ht_cap & 1))" -eq 1 ] && append ht_capab "$list LDPC" "$N" [ "$(($ht_cap & 2))" -eq 2 ] && append ht_capab "$list HT40-" "$N" [ "$(($ht_cap & 32))" -eq 32 ] && append ht_capab "$list SHORT-GI-20" "$N" [ "$(($ht_cap & 64))" -eq 64 ] && append ht_capab "$list SHORT-GI-40" "$N" |