Karl Beldan fffa4b1c17 mac80211: adjust initial chandefs assignments in ieee80211_register_hw
I noticed that monitor interfaces by default would start on 5GHz
while STA/AP ones would start 2GHZ - It stems from the fact that
ieee80211_register_hw unnecessarily adjusts the local->monitor_chandef
for each band.

This avoids this and while at it uses a single dflt_chandef to initialize
in one go local->{hw.conf.chandef,_oper_chandef,monitor_chandef}

Signed-off-by: Karl Beldan <karl.beldan@rivierawaves.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-04-16 16:01:23 +02:00
..
2013-02-11 14:16:26 -05:00
2013-01-29 10:48:30 +01:00
2013-02-21 12:05:51 -08:00
2013-02-21 12:05:51 -08:00
2013-02-21 12:05:51 -08:00
2013-03-02 16:46:07 -08:00
2012-09-26 21:10:25 -04:00
2013-02-21 12:05:51 -08:00
2013-02-10 19:41:08 -05:00