aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/pci.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/pci.c b/drivers/net/wireless/ath/ath9k/pci.c
index cd4841be80a..3546504a83c 100644
--- a/drivers/net/wireless/ath/ath9k/pci.c
+++ b/drivers/net/wireless/ath/ath9k/pci.c
@@ -178,7 +178,7 @@ static int ath_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id)
178 sc->mem = mem; 178 sc->mem = mem;
179 sc->bus_ops = &ath_pci_bus_ops; 179 sc->bus_ops = &ath_pci_bus_ops;
180 180
181 if (ath_attach(id->device, sc) != 0) { 181 if (ath_init_device(id->device, sc) != 0) {
182 ret = -ENODEV; 182 ret = -ENODEV;
183 goto bad3; 183 goto bad3;
184 } 184 }