]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitba562f68b7ba03a17a7a2488645fac31a15dd1d4
tree899cdc5cdfc75d21a8c258ecfc2bc6b1e1c79895
parenta3f1350eb17cd9af4a38f5a53f7bbd52d2593115
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