mac80211: fix a typo in the mac80211.sh
authorGabor Juhos <juhosg@openwrt.org>
Fri, 27 Nov 2009 21:21:28 +0000 (21:21 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Fri, 27 Nov 2009 21:21:28 +0000 (21:21 +0000)
SVN-Revision: 18567

package/mac80211/Makefile
package/mac80211/files/lib/wifi/mac80211.sh

index 6fb2b23141ba275a93f89b780c6528c098b62703..9440ca6a18f2956535105bd016aee9cc9d828f8c 100644 (file)
@@ -11,7 +11,7 @@ include $(INCLUDE_DIR)/kernel.mk
 PKG_NAME:=mac80211
 
 PKG_VERSION:=2009-11-21
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 PKG_SOURCE_URL:= \
        http://www.orbit-lab.org/kernel/compat-wireless-2.6/2009/11 \
        http://wireless.kernel.org/download/compat-wireless-2.6
index 591d978da3a8e69e72fdd42616cf3b256491985f..b7984a3b7f6225cf9a52e8fb31f64783d2760939 100644 (file)
@@ -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"