diff options
author | Karl Beldan <karl.beldan@rivierawaves.com> | 2013-04-15 19:04:06 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-04-16 16:01:23 +0200 |
commit | fffa4b1c170a3cabc58671495b0ae89ded007199 (patch) | |
tree | a084e2ce2622d0bc16317ad99c55a19ed0b4c15d /include/net/mac80211.h | |
parent | fbd647b17689d584748bad62395cd1161d42d37c (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 'include/net/mac80211.h')
0 files changed, 0 insertions, 0 deletions