OSDN Git Service

mt76x0: usb: remove mt76_fw definition
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Wed, 12 Sep 2018 15:19:36 +0000 (17:19 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 19 Sep 2018 10:31:49 +0000 (12:31 +0200)
commitbf3741ada33bb4fabec99538b8014c054854912b
treec3dcd4759f29140af285a5354c2f85c0840720f9
parent196e978ca1da89b70ccaf0ae52b59a95ce94a815
mt76x0: usb: remove mt76_fw definition

Remove mt76_fw dependency from mt76x0u_upload_firmware routine since
it does not define firmware layout properly. Moreover use mt76_poll_msec
utility routine to check if the fw is properly running

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76x0/usb.c