mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-01 14:53:11 +01:00
wifi: mt76: mt7996: Do not set wcid.sta to 1 in mt7996_mac_sta_event()
msta_link->wcid.sta is already set to 1 in mt7996_mac_sta_init_link routine. Signed-off-by: Lorenzo Bianconi <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
1 parent
1a1cce6b52
commit
8989d8e90f
1 file changed
-1
@@ -1119,7 +1119,6 @@ mt7996_mac_sta_event(struct mt7996_dev *dev, struct ieee80211_vif *vif,
|
||||
return err;
|
||||
|
||||
msta_link->wcid.tx_info |= MT_WCID_TX_INFO_SET;
|
||||
msta_link->wcid.sta = 1;
|
||||
break;
|
||||
case MT76_STA_EVENT_AUTHORIZE:
|
||||
err = mt7996_mcu_add_sta(dev, link_conf, link_sta,
|
||||
|
||||
Reference in new issue
Block a user