1
0
Files
linux/drivers/net
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
..
2010-12-21 02:16:10 -08:00
2010-12-21 02:16:10 -08:00
2010-12-21 02:16:10 -08:00
2010-12-21 02:16:10 -08:00
2010-12-21 02:16:10 -08:00
2010-12-21 02:16:10 -08:00
2010-12-21 02:16:10 -08:00
2010-12-31 11:11:38 -08:00
2010-12-21 02:16:10 -08:00
2010-12-21 02:16:08 -08:00
2010-12-21 02:16:08 -08:00
2010-12-21 02:16:08 -08:00
2010-11-09 09:17:56 -08:00
2010-12-21 02:16:08 -08:00
2010-11-17 12:21:14 -08:00
2010-11-09 09:17:56 -08:00
2010-12-21 02:16:08 -08:00
2010-11-09 09:17:56 -08:00
2010-12-01 11:11:31 -08:00
2010-12-31 11:04:02 -08:00
2010-11-28 10:47:19 -08:00
2010-12-23 11:44:34 -08:00
2010-12-23 11:44:34 -08:00
2010-12-21 02:16:08 -08:00
2010-12-21 02:16:08 -08:00
2010-12-21 02:16:08 -08:00
2010-11-28 11:16:38 -08:00
2010-11-16 11:39:08 -08:00
2011-01-09 15:42:56 -08:00
2011-01-09 15:42:56 -08:00
2010-12-21 02:16:08 -08:00
2010-12-21 02:16:08 -08:00
2011-01-03 12:43:10 -08:00
2010-11-18 10:45:24 -08:00
2010-12-21 02:16:08 -08:00
2011-01-09 15:42:56 -08:00
2010-11-08 13:50:06 -08:00
2010-11-09 09:17:56 -08:00
2010-11-09 09:17:56 -08:00
2010-12-16 14:43:14 -08:00
2010-12-21 02:16:08 -08:00
2010-12-21 02:16:08 -08:00
2010-12-12 22:08:17 -08:00
2010-12-11 11:46:36 -08:00
2011-01-09 15:54:15 -08:00
2011-01-09 15:54:15 -08:00
2010-12-21 02:16:08 -08:00
2010-12-06 11:03:48 -08:00
2010-12-16 14:43:14 -08:00
2010-11-12 12:21:18 -08:00
2010-12-16 14:41:35 -08:00
2010-12-08 10:23:36 -08:00
2010-12-21 02:16:08 -08:00
2010-11-09 09:17:56 -08:00