]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Fix panic on driver load
authorSujith <Sujith.Manoharan@atheros.com>
Thu, 14 Jan 2010 04:50:57 +0000 (10:20 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 14 Jan 2010 23:16:55 +0000 (18:16 -0500)
commit9fc8bbc22fdad88ce54a8dc0d4d9a54680e676d3
tree1954c51af0ae909ed2bf586e8e5bc5e69aaddec3
parentad4bf799dd66b1059a3817d481acdc123b8bf11e
ath9k: Fix panic on driver load

The device has to be marked as invalid before
registering the ISR. HW initialization takes place
after the ISR has been registered, and the invalid
flag is eventually cleared in the ->stop() callback.

Reported-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ahb.c
drivers/net/wireless/ath/ath9k/init.c
drivers/net/wireless/ath/ath9k/pci.c