rt2800usb:fix hang during firmware load
authorMichael Braun <michael-dev@fami-braun.de>
Thu, 12 Jun 2014 17:33:41 +0000 (19:33 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 17 Jun 2014 18:11:16 +0000 (14:11 -0400)
commitb663cd10f0ba351ae520fa3627e13061d7f8e714
treeb4d334c8df59d0ff437576207c769a1bd4025068
parentde51b35d506f9f9e8ab7bb5987ed5d50a76bd906
rt2800usb:fix hang during firmware load

The device 057c:8501 (AVM Fritz! WLAN v2 rev. B) boots into a state that does
not actually require loading a firmware file. The vendors driver finds out
about this by checking a firmware state register, so this patch adds this here.

Finally, with this patch applied, my wifi dongle actually becomes
useful (scan + connect to wpa network works).

Signed-off-by: Michael Braun <michael-dev@fami-braun.de>
Acked-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800usb.c