]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - drivers/net/wireless/ath/ath9k/main.c
ath9k: describe hw initialization better
[linux-2.6.git] / drivers / net / wireless / ath / ath9k / main.c
index 230dedbb2e03c8d84c86151247f3a92d4de6ebab..751d803e1bc47e1a02265bcd0018fecfa238cb05 100644 (file)
@@ -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;
        }