linux/drivers/net/wireless/rtlwifi
Larry Finger 3ce4d85b76 rtlwifi: rtl8192cu: Change buffer allocation for synchronous reads
In commit a7959c1, the USB part of rtlwifi was switched to convert
_usb_read_sync() to using a preallocated buffer rather than one
that has been acquired using kmalloc. Although this routine is named
as though it were synchronous, there seem to be simultaneous users,
and the selection of the index to the data buffer is not multi-user
safe. This situation is addressed by adding a new spinlock. The routine
cannot sleep, thus a mutex is not allowed.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Stable <stable@vger.kernel.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2012-07-12 15:27:18 -04:00
..
rtl8192c rtlwifi: rtl8192c: Convert driver to use private ps_t struct 2012-04-23 15:35:32 -04:00
rtl8192ce drivers/net: Convert compare_ether_addr to ether_addr_equal 2012-05-10 23:33:01 -04:00
rtl8192cu rtlwifi: rtl8192cu: New USB IDs 2012-06-27 14:48:12 -04:00
rtl8192de drivers/net: Convert compare_ether_addr to ether_addr_equal 2012-05-10 23:33:01 -04:00
rtl8192se rtlwifi: rtl8192se: Fix double inclusion of header pci.h 2012-06-26 14:28:50 -04:00
base.c rtlwifi: Remove extra argument from queue setup routine 2012-07-12 15:27:18 -04:00
base.h rtlwifi: Remove extra argument from queue setup routine 2012-07-12 15:27:18 -04:00
cam.c rtlwifi: Change debug level for deletion of an entry in CAM 2012-06-22 14:44:06 -04:00
cam.h rtlwifi: Update copyright dates 2012-01-24 14:08:37 -05:00
core.c rtlwifi: Remove extra debugging message accidentally left in 2012-02-06 14:53:09 -05:00
core.h rtlwifi: Convert to asynchronous firmware load 2012-01-30 15:48:50 -05:00
debug.c rtlwifi: Move pr_fmt macros to a single location 2012-01-30 15:48:23 -05:00
debug.h rtlwifi: Update copyright dates 2012-01-24 14:08:37 -05:00
efuse.c drivers/net: Remove boolean comparisons to true/false 2012-02-13 00:47:40 -05:00
efuse.h rtlwifi: Update copyright dates 2012-01-24 14:08:37 -05:00
Kconfig rtlwifi: Fix breakage in debug functions when built as a module 2012-02-27 14:05:45 -05:00
Makefile rtlwifi: rtl8192de: Modify Kconfig and Makefile routines for new driver 2011-06-27 15:09:38 -04:00
pci.c rtlwifi: Remove extra argument from queue setup routine 2012-07-12 15:27:18 -04:00
pci.h rtlwifi: Convert to asynchronous firmware load 2012-01-30 15:48:50 -05:00
ps.c drivers/net: Convert compare_ether_addr to ether_addr_equal 2012-05-10 23:33:01 -04:00
ps.h rtlwifi: Update copyright dates 2012-01-24 14:08:37 -05:00
rc.c mac80211: remove channel type argument from rate_update 2012-04-10 14:54:08 -04:00
rc.h rtlwifi: Update copyright dates 2012-01-24 14:08:37 -05:00
regd.c rtlwifi: Update copyright dates 2012-01-24 14:08:37 -05:00
regd.h rtlwifi: Update copyright dates 2012-01-24 14:08:37 -05:00
usb.c rtlwifi: rtl8192cu: Change buffer allocation for synchronous reads 2012-07-12 15:27:18 -04:00
usb.h rtlwifi: Move pr_fmt macros to a single location 2012-01-30 15:48:23 -05:00
wifi.h rtlwifi: rtl8192cu: Change buffer allocation for synchronous reads 2012-07-12 15:27:18 -04:00