mac80211: fix default channel selection in mac80211.sh (thanks to blubberdiblub)

SVN-Revision: 18577
This commit is contained in:
Gabor Juhos 2009-11-28 13:49:14 +00:00
parent c74364cc38
commit 1104a67439
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=mac80211 PKG_NAME:=mac80211
PKG_VERSION:=2009-11-21 PKG_VERSION:=2009-11-21
PKG_RELEASE:=4 PKG_RELEASE:=5
PKG_SOURCE_URL:= \ PKG_SOURCE_URL:= \
http://www.orbit-lab.org/kernel/compat-wireless-2.6/2009/11 \ http://www.orbit-lab.org/kernel/compat-wireless-2.6/2009/11 \
http://wireless.kernel.org/download/compat-wireless-2.6 http://wireless.kernel.org/download/compat-wireless-2.6

View file

@ -315,7 +315,7 @@ detect_mac80211() {
[ "$(($ht_cap & 64))" -eq 64 ] && append ht_capab "$list SHORT-GI-40" "$N" [ "$(($ht_cap & 64))" -eq 64 ] && append ht_capab "$list SHORT-GI-40" "$N"
[ "$(($ht_cap & 4096))" -eq 4096 ] && append ht_capab "$list DSSS_CCK-40" "$N" [ "$(($ht_cap & 4096))" -eq 4096 ] && append ht_capab "$list DSSS_CCK-40" "$N"
} }
iw phy "$dev" info | grep -q '2412 MHz' || mode_band="a"; channel="36" iw phy "$dev" info | grep -q '2412 MHz' || { mode_band="a"; channel="36"; }
cat <<EOF cat <<EOF
config wifi-device wifi$devidx config wifi-device wifi$devidx