diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-05-08 14:47:39 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-05-11 15:23:57 -0400 |
commit | 9ed6bcce77f75d98af6ee07069deac6041948bee (patch) | |
tree | 9fff3d257612ed049b28a80681fbd987f4de3ec4 /drivers/net/wireless/mwl8k.c | |
parent | 5a9940118a616266183c53a9ee4352feadb9c2e8 (diff) |
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>
Diffstat (limited to 'drivers/net/wireless/mwl8k.c')
-rw-r--r-- | drivers/net/wireless/mwl8k.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwl8k.c b/drivers/net/wireless/mwl8k.c index 46b288dc8f4d..a263d5c84c08 100644 --- a/drivers/net/wireless/mwl8k.c +++ b/drivers/net/wireless/mwl8k.c | |||
@@ -2369,7 +2369,7 @@ static int mwl8k_cmd_set_aid(struct ieee80211_hw *hw, | |||
2369 | if (info->use_cts_prot) { | 2369 | if (info->use_cts_prot) { |
2370 | prot_mode = MWL8K_FRAME_PROT_11G; | 2370 | prot_mode = MWL8K_FRAME_PROT_11G; |
2371 | } else { | 2371 | } else { |
2372 | switch (info->ht.operation_mode & | 2372 | switch (info->ht_operation_mode & |
2373 | IEEE80211_HT_OP_MODE_PROTECTION) { | 2373 | IEEE80211_HT_OP_MODE_PROTECTION) { |
2374 | case IEEE80211_HT_OP_MODE_PROTECTION_20MHZ: | 2374 | case IEEE80211_HT_OP_MODE_PROTECTION_20MHZ: |
2375 | prot_mode = MWL8K_FRAME_PROT_11N_HT_40MHZ_ONLY; | 2375 | prot_mode = MWL8K_FRAME_PROT_11N_HT_40MHZ_ONLY; |