diff options
| author | Felix Fietkau <nbd@nbd.name> | 2024-08-27 11:29:59 +0200 |
|---|---|---|
| committer | Felix Fietkau <nbd@nbd.name> | 2024-09-06 14:23:06 +0200 |
| commit | 33eb14f1029085bb32e745c6d7a69b06eb3caec4 (patch) | |
| tree | fcd48fb4c5f84484f985b18d45c2d6a3a70f8311 /drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c | |
| parent | 17b0f68a72ae1a13e53135418d5ae5322f220294 (diff) | |
| download | linux-33eb14f1029085bb32e745c6d7a69b06eb3caec4.tar.gz linux-33eb14f1029085bb32e745c6d7a69b06eb3caec4.tar.bz2 linux-33eb14f1029085bb32e745c6d7a69b06eb3caec4.zip | |
wifi: mt76: mt7915: use mac80211 .sta_state op
Allows adding stations before assoc, though they are not passed to the
firmware yet at that point.
Link: https://patch.msgid.link/20240827093011.18621-12-nbd@nbd.name
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c')
| -rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c b/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c index 7afb9ac30ab9..3a575cebe4a9 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c +++ b/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c @@ -283,7 +283,7 @@ __mt76_connac_mcu_alloc_sta_req(struct mt76_dev *dev, struct mt76_vif *mvif, }; struct sk_buff *skb; - if (wcid && !wcid->sta) + if (wcid && !wcid->sta && !wcid->sta_disabled) hdr.muar_idx = 0xe; mt76_connac_mcu_get_wlan_idx(dev, wcid, &hdr.wlan_idx_lo, |
