2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-19 02:34:01 +08:00
linux-next/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 drivers/net/wireless/b43legacy/main.c: Use printf extension %pV 2010-11-16 16:37:05 -05:00
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 cfg80211/nl80211: separate unicast/multicast default TX keys 2010-12-13 15:23:28 -05:00
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: Use static const 2010-11-22 15:58:46 -05:00
atmel.h
Kconfig rtl8192ce: Add new driver 2010-12-15 16:17:49 -05:00
mac80211_hwsim.c mac80211_hwsim: Incorporate txpower into rssi 2010-11-15 13:25:28 -05:00
Makefile rtl8192ce: Add new driver 2010-12-15 16:17:49 -05:00
mwl8k.c mwl8k: use const struct fw pointers throughout 2010-11-16 16:37:03 -05:00
ray_cs.c wireless: ray_cs: use '%pm' format option to print MAC 2010-12-02 15:17:00 -05:00
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 wireless: Remove unnecessary casts of usb_get_intfdata 2010-12-02 15:16:47 -05:00
zd1201.h