]> git.baikalelectronics.ru Git - kernel.git/commit
ath5k: allocate ath5k_hw prior to initializing hw
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Fri, 11 Sep 2009 01:04:47 +0000 (18:04 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 7 Oct 2009 20:39:28 +0000 (16:39 -0400)
commitae0a39ce25ac4de1c42ed9ed7c9f0a3e6defaffc
treede3eaed32a5d460b50cf4f0d465a4384eb2ba551
parent6d9e7eafc67c31833cf45baadb8a19bf5a9094d6
ath5k: allocate ath5k_hw prior to initializing hw

We can propagate better errors upon failed hw initialization,
and set up the ath_common structure for attach purposes. This
will become important once we start using the ath_common
for read/write ops.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath.h
drivers/net/wireless/ath/ath5k/ath5k.h
drivers/net/wireless/ath/ath5k/attach.c
drivers/net/wireless/ath/ath5k/base.c