rt2800usb:fix efuse detection
authorMichael Braun <michael-dev@fami-braun.de>
Thu, 12 Jun 2014 17:33:36 +0000 (19:33 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 17 Jun 2014 18:11:15 +0000 (14:11 -0400)
commitde51b35d506f9f9e8ab7bb5987ed5d50a76bd906
tree1a72040e510ccda6d96197f8bcccc122f5932a42
parent7f4dbaa3aeff6ccf0a7c854ece4df4d69907eb64
rt2800usb:fix efuse detection

The device 057c:8501 (AVM Fritz! WLAN v2 rev. B) currently does not
load. One thing observed is that the vendors driver detects EFUSE mode
for this device, but rt2800usb does not. This is due to rt2800usb
lacking a check for the firmware mode present in the vendors driver,
that this patch adopts for rt2800usb.

With this patch applied, the 'RF chipset' detection does no longer fail.

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
drivers/net/wireless/rt2x00/rt2x00usb.h