summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mediatek/mt76/mt76.h
diff options
context:
space:
mode:
authorChuanhong Guo <gch981213@gmail.com>2020-09-23 15:23:03 +0800
committerFelix Fietkau <nbd@nbd.name>2020-12-04 13:46:13 +0100
commitced050ae3ab6bef58a02832dff735a1988cf3f2e (patch)
treee34fe800754879321a244fc5e79258465ae9e32d /drivers/net/wireless/mediatek/mt76/mt76.h
parent77d157f2009e2bcef48e0306bacfcced5b0ed887 (diff)
mt76: mt7615: retry if mt7615_mcu_init returns -EAGAIN
mt7615_load_patch in mt7615/mcu.c sometimes fails with: mt7622-wmac 18000000.wmac: Failed to get patch semaphore and returns -EAGAIN. But this error is returned all the way up to mt7615_init_work with no actual retrial performed, leaving a broken wireless phy. Wait a bit and retry for up to 10 times before giving up. Signed-off-by: Chuanhong Guo <gch981213@gmail.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76.h')
0 files changed, 0 insertions, 0 deletions