linux-kernel-test/drivers/net/wireless
Stanislaw Gruszka 4e5518ca53 hostap_cs: fix sleeping function called from invalid context
pcmcia_request_irq() and pcmcia_enable_device() are intended
to be called from process context (first function allocate memory
with GFP_KERNEL, second take a mutex). We can not take spin lock
and call them.

It's safe to move spin lock after pcmcia_enable_device() as we
still hold off IRQ until dev->base_addr is 0 and driver will
not proceed with interrupts when is not ready.

Patch resolves:
https://bugzilla.redhat.com/show_bug.cgi?id=643758

Reported-and-tested-by: rbugz@biobind.com
Cc: stable@kernel.org  # 2.6.34+
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-01-10 15:40:53 -05:00
..
ath ath9k_htc: Really fix packet injection 2011-01-10 15:40:52 -05:00
b43 b43: N-PHY: enable support for PHYs rev 3 and higher 2010-12-22 15:43:30 -05:00
b43legacy
hostap hostap_cs: fix sleeping function called from invalid context 2011-01-10 15:40:53 -05:00
ipw2x00 ipw2200: Check for -1 INTA in tasklet too. 2011-01-10 15:40:53 -05:00
iwlwifi Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 2011-01-05 14:35:41 -05:00
iwmc3200wifi
libertas libertas: down_interruptible() can return -EINTR, not EINTR 2011-01-04 14:46:56 -05:00
libertas_tf
orinoco Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-12-26 22:37:05 -08:00
p54 p54: fix sequence no. accounting off-by-one error 2011-01-10 15:40:53 -05:00
prism54
rt2x00 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2011-01-05 16:06:25 -05:00
rtl818x rtl818x: move rtl8180 and rtl8187 to separate subdirectories 2010-12-22 13:45:32 -05:00
rtlwifi rtlwifi: Fix large packet issue 2010-12-22 15:45:52 -05:00
wl12xx wl12xx: remove unnecessary import 2010-12-22 15:43:26 -05:00
wl1251 wl1251: remove unnecessary import 2010-12-22 15:43:26 -05:00
zd1211rw Merge branch 'for-2.6.38' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq 2011-01-07 16:58:04 -08:00
adm8211.c
adm8211.h
airo_cs.c
airo.c airo: use simple_write_to_buffer 2011-01-04 14:35:12 -05:00
airo.h
at76c50x-usb.c
at76c50x-usb.h
atmel_cs.c
atmel_pci.c
atmel.c
atmel.h
Kconfig rtl8192ce: Add new driver 2010-12-15 16:17:49 -05:00
mac80211_hwsim.c
Makefile rtl8192ce: Add new driver 2010-12-15 16:17:49 -05:00
mwl8k.c
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c rndis_wlan: add support for set_power_mgmt 2010-12-22 15:43:31 -05:00
wl3501_cs.c
wl3501.h
zd1201.c
zd1201.h