Skip to content

Commit 60bf087

Browse files
rexlu-mtkfrank-w
authored andcommitted
wifi: mt76: mt7996: fix handling mbss enable/disable
When mbss was previously enabled, the TLV needs to be included when disabling it again, in order to clear the firmware state. Fixes: a7908d5 ("wifi: mt76: mt7996: fix non-main BSS no beacon issue for MBSS scenario") Signed-off-by: Rex Lu <rex.lu@mediatek.com> Signed-off-by: Shayne Chen <shayne.chen@mediatek.com>
1 parent bd6bf4a commit 60bf087

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • drivers/net/wireless/mediatek/mt76/mt7996

drivers/net/wireless/mediatek/mt76/mt7996/mcu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -827,7 +827,7 @@ mt7996_mcu_bss_mbssid_tlv(struct sk_buff *skb, struct ieee80211_vif *vif,
827827
struct bss_info_uni_mbssid *mbssid;
828828
struct tlv *tlv;
829829

830-
if (!vif->bss_conf.bssid_indicator)
830+
if (!vif->bss_conf.bssid_indicator && enable)
831831
return;
832832

833833
tlv = mt7996_mcu_add_uni_tlv(skb, UNI_BSS_INFO_11V_MBSSID, sizeof(*mbssid));

0 commit comments

Comments
 (0)