android_kernel_motorola_sm6225/drivers/net/wireless/ath/carl9170
Ronald Wahl 5bcbc3fcbd carl9170: fix sleep in softirq context
This patch fixes the following bug:

usb 1-1.1: restart device (8)
BUG: sleeping function called from invalid context at drivers/usb/core/urb.c:654
in_atomic(): 1, irqs_disabled(): 0, pid: 0, name: swapper
 (usb_poison_urb+0x1c/0xf8)
 (usb_poison_anchored_urbs+0x48/0x78)
 (carl9170_usb_handle_tx_err+0x128/0x150)
 (carl9170_usb_reset+0xc/0x20)
 (carl9170_handle_command_response+0x298/0xea8)
 (carl9170_usb_tasklet+0x68/0x184)
 (tasklet_hi_action+0x84/0xdc)

this only happens if the device is plugged in an USB port,
the driver is loaded but inactive (e.g. the wlan interface
is down). If the device is active everything is fine.

Signed-off-by: Ronald Wahl <ronald.wahl@raritan.com>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2012-10-08 15:06:04 -04:00
..
carl9170.h carl9170: fix sleep in softirq context 2012-10-08 15:06:04 -04:00
cmd.c wireless: Remove casts to same type 2012-06-06 09:31:33 -07:00
cmd.h wireless: Remove unnecessary ; from while (0) macros 2012-04-11 16:23:56 -04:00
debug.c simple_open: automatically convert to simple_open() 2012-04-05 15:25:50 -07:00
debug.h carl9170: firmware parser and debugfs code 2010-09-14 16:03:42 -04:00
eeprom.h
fw.c carl9170: Add support for NL80211_IFTYPE_MESH_POINT interfaces 2012-08-06 15:01:56 -04:00
fwcmd.h carl9170: import updated firmware headers 2011-08-24 14:41:42 -04:00
fwdesc.h carl9170: import 1.9.6 firmware headers 2012-07-11 15:38:26 -04:00
hw.h carl9170 firmware: update firmware headers 2011-07-18 14:29:43 -04:00
Kconfig carl9170: export HW random number generator 2011-08-24 14:41:42 -04:00
led.c carl9170: fix formatting issues found by checkpatch 2011-07-15 13:38:34 -04:00
mac.c carl9170: connect to 11w protected networks 2012-09-24 15:02:08 -04:00
main.c carl9170: fix sleep in softirq context 2012-10-08 15:06:04 -04:00
Makefile carl9170: Makefile, Kconfig files and MAINTAINERS 2010-09-14 16:03:42 -04:00
phy.c carl9170: allow users to lower output power level 2012-01-27 14:56:57 -05:00
phy.h carl9170: import hw/fw header updates 2010-11-15 13:25:29 -05:00
rx.c carl9170: report A-MPDU status 2012-08-21 16:06:30 -04:00
tx.c mac80211: move TX station pointer and restructure TX 2012-07-31 16:18:39 +02:00
usb.c USB: Disable hub-initiated LPM for comms devices. 2012-05-18 15:42:55 -07:00
version.h carl9170: import 1.9.6 firmware headers 2012-07-11 15:38:26 -04:00
wlan.h carl9170: import 1.9.4 firmware headers 2011-07-05 15:26:51 -04:00