linux/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
eeprom.h
fw.c carl9170: Add support for NL80211_IFTYPE_MESH_POINT interfaces 2012-08-06 15:01:56 -04:00
fwcmd.h
fwdesc.h carl9170: import 1.9.6 firmware headers 2012-07-11 15:38:26 -04:00
hw.h
Kconfig carl9170: export HW random number generator 2011-08-24 14:41:42 -04:00
led.c
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
phy.c carl9170: allow users to lower output power level 2012-01-27 14:56:57 -05:00
phy.h
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