mac80211: Use a cfg80211_chan_def in ieee80211_hw_conf_chan
Drivers that don't use chanctxes cannot perform VHT association because they still use a "backward compatibility" pair of {ieee80211_channel, nl80211_channel_type} in ieee80211_conf and ieee80211_local. Signed-off-by: Karl Beldan <karl.beldan@rivierawaves.com> [fix kernel-doc] Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:

committed by
Johannes Berg

parent
219c38674c
commit
675a0b049a
@@ -1021,8 +1021,7 @@ struct ieee80211_local {
|
||||
struct ieee80211_sub_if_data __rcu *scan_sdata;
|
||||
struct ieee80211_channel *csa_channel;
|
||||
/* For backward compatibility only -- do not use */
|
||||
struct ieee80211_channel *_oper_channel;
|
||||
enum nl80211_channel_type _oper_channel_type;
|
||||
struct cfg80211_chan_def _oper_chandef;
|
||||
|
||||
/* Temporary remain-on-channel for off-channel operations */
|
||||
struct ieee80211_channel *tmp_channel;
|
||||
|
Reference in New Issue
Block a user