mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
wifi: mt76: mt7915: reduce the number of command retries
The need to retry a command is really uncommon. Reduce the retries to 1 to speed up recovery from firmware issues. Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+1
-1
@@ -2387,7 +2387,7 @@ int mt7915_mcu_init_firmware(struct mt7915_dev *dev)
|
||||
int mt7915_mcu_init(struct mt7915_dev *dev)
|
||||
{
|
||||
static const struct mt76_mcu_ops mt7915_mcu_ops = {
|
||||
.max_retry = 3,
|
||||
.max_retry = 1,
|
||||
.headroom = sizeof(struct mt76_connac2_mcu_txd),
|
||||
.mcu_skb_prepare_msg = mt76_connac2_mcu_fill_message,
|
||||
.mcu_skb_send_msg = mt7915_mcu_send_message,
|
||||
|
||||
Reference in New Issue
Block a user