]> git.baikalelectronics.ru Git - kernel.git/commit
mt76: mt7615: load ROM patch before checking patch semaphore status
authorFelix Fietkau <nbd@nbd.name>
Fri, 16 Apr 2021 08:24:46 +0000 (10:24 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 21 Apr 2021 09:42:22 +0000 (11:42 +0200)
commit2c9e54bafd6a7a914f922fb84008da37c5973986
tree9185696c8a1d0933ea5cfa20cb1c617270acdbfa
parent8b99b75ccad10d3cb21b622e9f2f43784c43429f
mt76: mt7615: load ROM patch before checking patch semaphore status

For MT7663, the availability of the patch files is used to detect, which
corresponding firmware is going to be used (AP firmware or STA offload
firmware). If the ROM patch was already applied, it could attempt to
load the wrong firmware (without considering the alternative).

Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7615/mcu.c