mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-03 17:51:23 +00:00
wifi: mt76: mt7925: Update mt792x_rx_get_wcid for per-link STA
Update mt792x_rx_get_wcid to support per-link STA.
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-11-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
0e02f6ed6a
commit
90c10286b1
@ -153,7 +153,7 @@ struct mt76_wcid *mt792x_rx_get_wcid(struct mt792x_dev *dev, u16 idx,
|
||||
return NULL;
|
||||
|
||||
link = container_of(wcid, struct mt792x_link_sta, wcid);
|
||||
sta = container_of(link, struct mt792x_sta, deflink);
|
||||
sta = link->sta;
|
||||
if (!sta->vif)
|
||||
return NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user