hostap: Protect against initialization interrupt
authorTim Gardner <tim.gardner@canonical.com>
Tue, 8 Jun 2010 17:33:02 +0000 (11:33 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 15 Jun 2010 19:44:41 +0000 (15:44 -0400)
commitd6a574ff6bfb842bdb98065da053881ff527be46
tree899cdc5cdfc75d21a8c258ecfc2bc6b1e1c79895
parenta69b03e941abae00380fc6bc1877fb797a1b31e6
hostap: Protect against initialization interrupt

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>
Cc: stable@kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/hostap/hostap_cs.c
drivers/net/wireless/hostap/hostap_hw.c
drivers/net/wireless/hostap/hostap_wlan.h