diff options
-rw-r--r-- | drivers/net/wireless/mwifiex/11ac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/11ac.c b/drivers/net/wireless/mwifiex/11ac.c index 966a78f8e21a..5e0eec4d71c7 100644 --- a/drivers/net/wireless/mwifiex/11ac.c +++ b/drivers/net/wireless/mwifiex/11ac.c | |||
@@ -200,7 +200,7 @@ int mwifiex_cmd_append_11ac_tlv(struct mwifiex_private *priv, | |||
200 | 200 | ||
201 | /* VHT Operation IE */ | 201 | /* VHT Operation IE */ |
202 | if (bss_desc->bcn_vht_oper) { | 202 | if (bss_desc->bcn_vht_oper) { |
203 | if (priv->bss_mode == HostCmd_BSS_MODE_IBSS) { | 203 | if (priv->bss_mode == NL80211_IFTYPE_STATION) { |
204 | vht_op = (struct mwifiex_ie_types_vht_oper *)*buffer; | 204 | vht_op = (struct mwifiex_ie_types_vht_oper *)*buffer; |
205 | memset(vht_op, 0, sizeof(*vht_op)); | 205 | memset(vht_op, 0, sizeof(*vht_op)); |
206 | vht_op->header.type = | 206 | vht_op->header.type = |