summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/main.c
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2009-08-03 12:24:46 -0700
committerJohn W. Linville <linville@tuxdriver.com>2009-08-04 16:44:30 -0400
commitf637cfd6bbacbaeab329f9dfc56e9855cc15849d (patch)
treea3b8bfcf44c70d56996553c6f93ef98bcb82d0ea /drivers/net/wireless/ath/ath9k/main.c
parentaa4058aea24efe7aef736cbfb2d9b07de920ca27 (diff)
downloadblackbird-op-linux-f637cfd6bbacbaeab329f9dfc56e9855cc15849d.tar.gz
blackbird-op-linux-f637cfd6bbacbaeab329f9dfc56e9855cc15849d.zip
ath9k: describe hw initialization better
During initialization ath9k tends to use "attach" to when we initialize hardware due to the fact we used to attach a "HAL". The notion of a HAL is long gone, so lets just be clear on what we are doing. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/main.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c
index 230dedbb2e03..751d803e1bc4 100644
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
@@ -1332,10 +1332,10 @@ static int ath_init(u16 devid, struct ath_softc *sc)
ah->hw_version.devid = devid;
sc->sc_ah = ah;
- r = ath9k_hw_attach(ah);
+ r = ath9k_hw_init(ah);
if (r) {
DPRINTF(sc, ATH_DBG_FATAL,
- "Unable to attach hardware; "
+ "Unable to initialize hardware; "
"initialization status: %d\n", r);
goto bad;
}
OpenPOWER on IntegriCloud