diff options
Diffstat (limited to 'net/mac80211/ibss.c')
-rw-r--r-- | net/mac80211/ibss.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/ibss.c b/net/mac80211/ibss.c index f01d4683d473..b2da79f019d4 100644 --- a/net/mac80211/ibss.c +++ b/net/mac80211/ibss.c | |||
@@ -795,6 +795,8 @@ ieee80211_ibss_process_chanswitch(struct ieee80211_sub_if_data *sdata, | |||
795 | int err; | 795 | int err; |
796 | u32 sta_flags; | 796 | u32 sta_flags; |
797 | 797 | ||
798 | sdata_assert_lock(sdata); | ||
799 | |||
798 | sta_flags = IEEE80211_STA_DISABLE_VHT; | 800 | sta_flags = IEEE80211_STA_DISABLE_VHT; |
799 | switch (ifibss->chandef.width) { | 801 | switch (ifibss->chandef.width) { |
800 | case NL80211_CHAN_WIDTH_5: | 802 | case NL80211_CHAN_WIDTH_5: |