wifi: mt76: connac: use muar idx 0xe for non-mt799x as well
authorFelix Fietkau <nbd@nbd.name>
Wed, 3 Apr 2024 11:01:01 +0000 (13:01 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 2 May 2024 10:44:52 +0000 (12:44 +0200)
This is expected by the firmware of older chipsets as well, though it may
not have been as strongly required as on mt799x

Fixes: 098428c400ff ("wifi: mt76: connac: set correct muar_idx for mt799x chipsets")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c

index ca8508acbb81f99c57789e8c260c6c448e855e6a..162c57fb7954a06bdbb213c20aba57b453679ab1 100644 (file)
@@ -283,7 +283,7 @@ __mt76_connac_mcu_alloc_sta_req(struct mt76_dev *dev, struct mt76_vif *mvif,
        };
        struct sk_buff *skb;
 
-       if (is_mt799x(dev) && wcid && !wcid->sta)
+       if (wcid && !wcid->sta)
                hdr.muar_idx = 0xe;
 
        mt76_connac_mcu_get_wlan_idx(dev, wcid, &hdr.wlan_idx_lo,