mt7996_mcu_set_timeout() gives STA_REC_UPDATE and BSS_INFO_UPDATE a timeout of 2 seconds. Their payload grows with the beacon templates of MBSS and MLD configurations, the firmware can take longer to process them, and an MCU timeout resets the device. Use the default timeout for both commands. Fixes: beb01caa570c ("wifi: mt76: mt7996: decrease timeout for commonly issued MCU commands") Signed-off-by: Felix Fietkau --- drivers/net/wireless/mediatek/mt76/mt7996/mcu.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt7996/mcu.c b/drivers/net/wireless/mediatek/mt76/mt7996/mcu.c index 94e88455c732..e56b60346fc4 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7996/mcu.c +++ b/drivers/net/wireless/mediatek/mt76/mt7996/mcu.c @@ -282,8 +282,6 @@ mt7996_mcu_set_timeout(struct mt76_dev *mdev, int cmd) case MCU_UNI_CMD_THERMAL: case MCU_UNI_CMD_TWT: case MCU_UNI_CMD_GET_MIB_INFO: - case MCU_UNI_CMD_STA_REC_UPDATE: - case MCU_UNI_CMD_BSS_INFO_UPDATE: mdev->mcu.timeout = 2 * HZ; return; case MCU_UNI_CMD_EFUSE_CTRL: -- 2.47.3