diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2009-08-03 15:24:46 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-04 16:44:30 -0400 |
commit | f637cfd6bbacbaeab329f9dfc56e9855cc15849d (patch) | |
tree | a3b8bfcf44c70d56996553c6f93ef98bcb82d0ea /drivers/net/wireless/ath/ath9k/main.c | |
parent | aa4058aea24efe7aef736cbfb2d9b07de920ca27 (diff) |
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.c | 4 |
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) | |||
1332 | ah->hw_version.devid = devid; | 1332 | ah->hw_version.devid = devid; |
1333 | sc->sc_ah = ah; | 1333 | sc->sc_ah = ah; |
1334 | 1334 | ||
1335 | r = ath9k_hw_attach(ah); | 1335 | r = ath9k_hw_init(ah); |
1336 | if (r) { | 1336 | if (r) { |
1337 | DPRINTF(sc, ATH_DBG_FATAL, | 1337 | DPRINTF(sc, ATH_DBG_FATAL, |
1338 | "Unable to attach hardware; " | 1338 | "Unable to initialize hardware; " |
1339 | "initialization status: %d\n", r); | 1339 | "initialization status: %d\n", r); |
1340 | goto bad; | 1340 | goto bad; |
1341 | } | 1341 | } |