mac80211: move HT operation mode BSS info
There really is no need to have a separate struct for a single variable. The fact that it exists is due to the code legacy, but we can remove that now. Very simple. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
5a9940118a
commit
9ed6bcce77
@@ -2369,7 +2369,7 @@ static int mwl8k_cmd_set_aid(struct ieee80211_hw *hw,
|
||||
if (info->use_cts_prot) {
|
||||
prot_mode = MWL8K_FRAME_PROT_11G;
|
||||
} else {
|
||||
switch (info->ht.operation_mode &
|
||||
switch (info->ht_operation_mode &
|
||||
IEEE80211_HT_OP_MODE_PROTECTION) {
|
||||
case IEEE80211_HT_OP_MODE_PROTECTION_20MHZ:
|
||||
prot_mode = MWL8K_FRAME_PROT_11N_HT_40MHZ_ONLY;
|
||||
|
Reference in New Issue
Block a user