hostap: Protect against initialization interrupt
commit121ba374607497d8f12d3444c7a7802fda26963b
authorTim Gardner <tim.gardner@canonical.com>
Tue, 8 Jun 2010 17:33:02 +0000 (8 11:33 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 Aug 2010 17:20:46 +0000 (2 10:20 -0700)
treeed9792b68d65ff177af2a6043e64b34c22aba62a
parent8a16f471efd41605e8abc06ecabb8082caf6a63e
hostap: Protect against initialization interrupt

commit d6a574ff6bfb842bdb98065da053881ff527be46 upstream.

Use an irq spinlock to hold off the IRQ handler until
enough early card init is complete such that the handler
can run without faulting.

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/hostap/hostap_cs.c
drivers/net/wireless/hostap/hostap_hw.c
drivers/net/wireless/hostap/hostap_wlan.h