wifi: mt76: mt7925: Update mt7925_mcu_sta_update for BC in ASSOC state
[ Upstream commit 0e02f6ed6a49577e29e0b1f7900fad3ed8ae870c ]
Update mt7925_mcu_sta_update for broadcast (BC) in the ASSOC state.
Fixes: 86c051f2c4 ("wifi: mt76: mt7925: enabling MLO when the firmware supports it")
Signed-off-by: Ming Yen Hsieh <mingyen.hsieh@mediatek.com>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Link: https://patch.msgid.link/20241211011926.5002-10-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
0443ed06cf
commit
848276d8b3
@@ -1903,7 +1903,11 @@ int mt7925_mcu_sta_update(struct mt792x_dev *dev,
|
||||
mlink = mt792x_sta_to_link(msta, link_sta->link_id);
|
||||
}
|
||||
info.wcid = link_sta ? &mlink->wcid : &mvif->sta.deflink.wcid;
|
||||
info.newly = link_sta ? state != MT76_STA_INFO_STATE_ASSOC : true;
|
||||
|
||||
if (link_sta)
|
||||
info.newly = state != MT76_STA_INFO_STATE_ASSOC;
|
||||
else
|
||||
info.newly = state == MT76_STA_INFO_STATE_ASSOC ? false : true;
|
||||
|
||||
if (ieee80211_vif_is_mld(vif))
|
||||
err = mt7925_mcu_mlo_sta_cmd(&dev->mphy, &info);
|
||||
|
||||
Reference in New Issue
Block a user