diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-11-28 13:49:14 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-11-28 13:49:14 +0000 |
commit | 2c7b7e70275cdc8bdeff255f4f2e7cf23189892b (patch) | |
tree | 2af4b8d6c5b71c749f107d7e3ccedf8dd33fcd77 /package/mac80211/files/lib | |
parent | 2b30212a0f48cccb532cec0a04e8247eca9b242c (diff) |
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
Diffstat (limited to 'package/mac80211/files/lib')
-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 b7984a3b7..f530d7e51 100644 --- a/package/mac80211/files/lib/wifi/mac80211.sh +++ b/package/mac80211/files/lib/wifi/mac80211.sh @@ -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 |