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)
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>

No differences found