]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit74f2332f2f67f99ddb75b0b52c19c0276e707f93
tree1a72040e510ccda6d96197f8bcccc122f5932a42
parenta2f502258e468916dd3b3f6efccb7251d5c2a692
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