wifi: change the default channel from 5 to 11, 5 was a really bad choice
SVN-Revision: 23423
This commit is contained in:
		@@ -185,7 +185,7 @@ detect_acx() {
 | 
			
		||||
		cat <<EOF
 | 
			
		||||
config wifi-device  $dev
 | 
			
		||||
	option type     acx
 | 
			
		||||
	option channel  5
 | 
			
		||||
	option channel  11
 | 
			
		||||
 | 
			
		||||
	# REMOVE THIS LINE TO ENABLE WIFI:
 | 
			
		||||
	option disabled 1
 | 
			
		||||
 
 | 
			
		||||
@@ -363,7 +363,7 @@ detect_broadcom() {
 | 
			
		||||
		cat <<EOF
 | 
			
		||||
config wifi-device  wl${i}
 | 
			
		||||
	option type     broadcom
 | 
			
		||||
	option channel  5
 | 
			
		||||
	option channel  11
 | 
			
		||||
 | 
			
		||||
	# REMOVE THIS LINE TO ENABLE WIFI:
 | 
			
		||||
	option disabled 1
 | 
			
		||||
 
 | 
			
		||||
@@ -404,7 +404,7 @@ detect_mac80211() {
 | 
			
		||||
 | 
			
		||||
		mode_11n=""
 | 
			
		||||
		mode_band="g"
 | 
			
		||||
		channel="5"
 | 
			
		||||
		channel="11"
 | 
			
		||||
		ht_cap=0
 | 
			
		||||
		for cap in $(iw phy "$dev" info | grep 'Capabilities:' | cut -d: -f2); do
 | 
			
		||||
			ht_cap="$(($ht_cap | $cap))"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user