]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
hostap: Protect against initialization interrupt
authorTim Gardner <tim.gardner@canonical.com>
Tue, 8 Jun 2010 17:33:02 +0000 (11:33 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 Aug 2010 17:18:50 +0000 (10:18 -0700)
commite75c279c6760282546dbc794b8368d6a8ff12c92
tree215fc156fdc1762ee00b45c4b235b4a5f2f5733d
parent387247ff4b68aea133a0ca440e78fb19ae3ecf16
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