Skip to content

Commit ec280de

Browse files
csyuancgregkh
authored andcommitted
mt76: mt7915: fix muar_idx in mt7915_mcu_alloc_sta_req()
[ Upstream commit 161cc13 ] For broadcast/multicast wcid, the muar_idx should be 0xe. Fixes: e57b790 ("mt76: add mac80211 driver for MT7915 PCIe-based chipsets") Signed-off-by: Shayne Chen <shayne.chen@mediatek.com> Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent a4ab42f commit ec280de

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/wireless/mediatek/mt76/mt7915

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ mt7915_mcu_alloc_sta_req(struct mt7915_dev *dev, struct mt7915_vif *mvif,
721721
.bss_idx = mvif->idx,
722722
.wlan_idx_lo = msta ? to_wcid_lo(msta->wcid.idx) : 0,
723723
.wlan_idx_hi = msta ? to_wcid_hi(msta->wcid.idx) : 0,
724-
.muar_idx = msta ? mvif->omac_idx : 0,
724+
.muar_idx = msta && msta->wcid.sta ? mvif->omac_idx : 0xe,
725725
.is_tlv_append = 1,
726726
};
727727
struct sk_buff *skb;

0 commit comments

Comments
 (0)