summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mac80211_hwsim.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-05-08 20:47:39 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-05-11 15:23:57 -0400
commit9ed6bcce77f75d98af6ee07069deac6041948bee (patch)
tree9fff3d257612ed049b28a80681fbd987f4de3ec4 /drivers/net/wireless/mac80211_hwsim.c
parent5a9940118a616266183c53a9ee4352feadb9c2e8 (diff)
downloadlinux-9ed6bcce77f75d98af6ee07069deac6041948bee.tar.gz
linux-9ed6bcce77f75d98af6ee07069deac6041948bee.tar.bz2
linux-9ed6bcce77f75d98af6ee07069deac6041948bee.zip
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/mac80211_hwsim.c')
-rw-r--r--drivers/net/wireless/mac80211_hwsim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c
index b1213b6a6b9f..61a4ad7cc1c2 100644
--- a/drivers/net/wireless/mac80211_hwsim.c
+++ b/drivers/net/wireless/mac80211_hwsim.c
@@ -642,7 +642,7 @@ static void mac80211_hwsim_bss_info_changed(struct ieee80211_hw *hw,
if (changed & BSS_CHANGED_HT) {
printk(KERN_DEBUG " %s: HT: op_mode=0x%x\n",
wiphy_name(hw->wiphy),
- info->ht.operation_mode);
+ info->ht_operation_mode);
}
if (changed & BSS_CHANGED_BASIC_RATES) {