rtlwifi: rtl8192cu: Change firmware upload to use block writes
authorLarry Finger <Larry.Finger@lwfinger.net>
Thu, 17 Nov 2011 18:14:43 +0000 (12:14 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 21 Nov 2011 21:20:45 +0000 (16:20 -0500)
commitff6ff96b5ba5b39f7ab3d8ea0cf9ec414452ac92
treead1c3294691a2860f9b8205ece269a1b36ac2f77
parent040a72785cf19fd8032f24d584ee305158c87ac7
rtlwifi: rtl8192cu: Change firmware upload to use block writes

Driver rtl8192cu writes the firmware with 32-bit asynchronous writes. This
design is OK for USB 2.0 adapters, but the current implementation of
xhcu-hcd has a limited ring size, which is exceeded. By converting to
synchronous block writes, this error is avoided.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/rtl8192c/fw_common.c
drivers/net/wireless/rtlwifi/rtl8192c/fw_common.h
drivers/net/wireless/rtlwifi/rtl8192cu/mac.c
drivers/net/wireless/rtlwifi/usb.c
drivers/net/wireless/rtlwifi/wifi.h