linux/drivers/net/wireless/ath
Luis R. Rodriguez 95fafca26d ath9k: call ath9k_hw_detach() once upon hw init failure
If hw initialization fails (ath9k_hw_init()) on ath_init_softc()
we bail out and call ath9k_hw_detach(). The call ath9k_hw_detach()
is conditional though as ath9k_hw_init() could itself have called
ath9k_hw_detach(). Just describing this is itself a brain twister.
Avoid this nonsense by removing ath9k_hw_detach() from ath9k_hw_init().

Upon hw initialization failure we expect the callers to take care of
the cleanup.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-08-04 16:44:33 -04:00
..
ar9170 mac80211: redefine usage of the mac80211 workqueue 2009-08-04 16:44:14 -04:00
ath5k ath5k: fix CAB queue operation 2009-08-04 16:43:27 -04:00
ath9k ath9k: call ath9k_hw_detach() once upon hw init failure 2009-08-04 16:44:33 -04:00
Kconfig ath: use menuconfig to put ath stuff in its own page 2009-08-04 16:43:21 -04:00
main.c
Makefile
regd.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-07-23 19:03:51 -07:00
regd.h
regd_common.h ath: map TH to FCC3_WORLD 2009-07-27 15:24:08 -04:00