aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorKarl Beldan <karl.beldan@rivierawaves.com>2013-04-15 13:04:06 -0400
committerJohannes Berg <johannes.berg@intel.com>2013-04-16 10:01:23 -0400
commitfffa4b1c170a3cabc58671495b0ae89ded007199 (patch)
treea084e2ce2622d0bc16317ad99c55a19ed0b4c15d /mm
parentfbd647b17689d584748bad62395cd1161d42d37c (diff)
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>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions