1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18577 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg
2009-11-28 13:49:14 +00:00
parent 2b30212a0f
commit 2c7b7e7027
2 changed files with 2 additions and 2 deletions

View File

@@ -315,7 +315,7 @@ detect_mac80211() {
[ "$(($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"
}
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
config wifi-device wifi$devidx