rtl8192cu: Fix missing firmware load
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 21 Jun 2011 15:48:31 +0000 (10:48 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Jun 2011 19:47:59 +0000 (15:47 -0400)
commit9935d12651c9e54ad266e17cd542ec717ccd0fc8
tree1ea306c28301373c10bfe9d0bbace86d7203ce14
parentfa7ccfb17033bfb5bca86f6b909cab0b807efbc0
rtl8192cu: Fix missing firmware load

In commit 3ac5e26a1e935469a8bdae1d624bc3b59d1fcdc5 entitled
"rtlwifi: rtl8192c-common: Change common firmware routines for addition
of rtl8192se and rtl8192de", the firmware loading code was moved.
Unfortunately, some necessary code was dropped for rtl8192cu.

The dmesg output shows the following:

rtl8192c: Loading firmware file rtlwifi/rtl8192cufw.bin
rtl8192c_common:_rtl92c_fw_free_to_go():<0-0> Polling FW ready fail!! REG_MCUFWDL:0x00000006 .
rtl8192c_common:rtl92c_download_fw():<0-0> Firmware is not ready to run!

In addition, the interface will authenticate and associate, but cannot
transfer data.

This is reported as Kernel Bug #38012.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/rtl8192cu/sw.c