mt76x2: init: disable APCLI by default
authorLorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Thu, 14 Dec 2017 15:39:16 +0000 (16:39 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 8 Jan 2018 17:25:51 +0000 (19:25 +0200)
It is no longer necessary for client mode operation, vif index entries
8-16 are no longer used

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mediatek/mt76/mt76x2_init.c

index 3e3a01b6f2cefc8d7c270fe92ae7d7558725bf03..160a8c40ce9b9254674b63a235d3dc43bacdf9e8 100644 (file)
@@ -308,8 +308,6 @@ int mt76x2_mac_reset(struct mt76x2_dev *dev, bool hard)
        for (i = 0; i < 16; i++)
                mt76_rr(dev, MT_TX_STAT_FIFO);
 
-       mt76_set(dev, MT_MAC_APC_BSSID_H(0), MT_MAC_APC_BSSID0_H_EN);
-
        mt76_wr(dev, MT_CH_TIME_CFG,
                MT_CH_TIME_CFG_TIMER_EN |
                MT_CH_TIME_CFG_TX_AS_BUSY |