mac80211: remove mode_11n variable for hwmode - the option only selects the band now
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40693
This commit is contained in:
		| @@ -66,7 +66,6 @@ detect_mac80211() { | |||||||
| 		config_foreach check_mac80211_device wifi-device | 		config_foreach check_mac80211_device wifi-device | ||||||
| 		[ "$found" -gt 0 ] && continue | 		[ "$found" -gt 0 ] && continue | ||||||
|  |  | ||||||
| 		mode_11n="" |  | ||||||
| 		mode_band="g" | 		mode_band="g" | ||||||
| 		channel="11" | 		channel="11" | ||||||
| 		htmode="" | 		htmode="" | ||||||
| @@ -95,7 +94,7 @@ detect_mac80211() { | |||||||
| config wifi-device  radio$devidx | config wifi-device  radio$devidx | ||||||
| 	option type     mac80211 | 	option type     mac80211 | ||||||
| 	option channel  ${channel} | 	option channel  ${channel} | ||||||
| 	option hwmode	11${mode_11n}${mode_band} | 	option hwmode	11${mode_band} | ||||||
| $dev_id | $dev_id | ||||||
| $ht_capab | $ht_capab | ||||||
| 	# REMOVE THIS LINE TO ENABLE WIFI: | 	# REMOVE THIS LINE TO ENABLE WIFI: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Felix Fietkau
					Felix Fietkau