From 726fd501651ae73e7f25e6244e1311d2ddb0b1e9 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 19 Dec 2019 13:41:24 +0100 Subject: [PATCH] mt76: mt7615: increase MCU command timeout MCU_EXT_CMD_EFUSE_BUFFER_MODE needs more time on initialization, and with only 10 seconds it sometimes runs into timeouts. Signed-off-by: Felix Fietkau --- mt7615/mcu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mt7615/mcu.c b/mt7615/mcu.c index fc091278..c8d6a36f 100644 --- a/mt7615/mcu.c +++ b/mt7615/mcu.c @@ -144,7 +144,7 @@ mt7615_mcu_msg_send(struct mt76_dev *mdev, int cmd, const void *data, int len, bool wait_resp) { struct mt7615_dev *dev = container_of(mdev, struct mt7615_dev, mt76); - unsigned long expires = jiffies + 10 * HZ; + unsigned long expires = jiffies + 20 * HZ; struct sk_buff *skb; int ret, seq;