Skip to content

Commit 90c1028

Browse files
Ming Yen Hsiehnbd168
Ming Yen Hsieh
authored andcommitted
wifi: mt76: mt7925: Update mt792x_rx_get_wcid for per-link STA
Update mt792x_rx_get_wcid to support per-link STA. Fixes: 86c051f ("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>
1 parent 0e02f6e commit 90c1028

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/wireless/mediatek/mt76/mt792x_mac.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ struct mt76_wcid *mt792x_rx_get_wcid(struct mt792x_dev *dev, u16 idx,
153153
return NULL;
154154

155155
link = container_of(wcid, struct mt792x_link_sta, wcid);
156-
sta = container_of(link, struct mt792x_sta, deflink);
156+
sta = link->sta;
157157
if (!sta->vif)
158158
return NULL;
159159

0 commit comments

Comments
 (0)