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
core.c
core.h
debug.c
debug.h
efuse.c
efuse.h
Kconfig
Makefile
pci.c rtlwifi: Remove extra argument from queue setup routine 2012-07-12 15:27:18 -04:00
pci.h
ps.c drivers/net: Convert compare_ether_addr to ether_addr_equal 2012-05-10 23:33:01 -04:00
ps.h
rc.c mac80211: remove channel type argument from rate_update 2012-04-10 14:54:08 -04:00
rc.h
regd.c
regd.h
usb.c rtlwifi: rtl8192cu: Change buffer allocation for synchronous reads 2012-07-12 15:27:18 -04:00
usb.h
wifi.h rtlwifi: rtl8192cu: Change buffer allocation for synchronous reads 2012-07-12 15:27:18 -04:00