From: Karl Beldan Date: Mon, 15 Apr 2013 17:04:06 +0000 (+0200) Subject: mac80211: adjust initial chandefs assignments in ieee80211_register_hw X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~43^2^2~61^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fffa4b1c170a3cabc58671495b0ae89ded007199;p=pandora-kernel.git 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 Signed-off-by: Johannes Berg --- Reading git-diff-tree failed