]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - drivers/net/wireless/ath/ath9k/pci.c
ath9k: distinguish between device initialization and ath_softc init
[linux-2.6.git] / drivers / net / wireless / ath / ath9k / pci.c
index cd4841be80af084a7d3a0cc723431cf7ebf55cad..3546504a83c42cc108b8abd2039454fa09d21f2d 100644 (file)
@@ -178,7 +178,7 @@ static int ath_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id)
        sc->mem = mem;
        sc->bus_ops = &ath_pci_bus_ops;
 
-       if (ath_attach(id->device, sc) != 0) {
+       if (ath_init_device(id->device, sc) != 0) {
                ret = -ENODEV;
                goto bad3;
        }