aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/init.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c
index 498f62180f1c..e7764ce881df 100644
--- a/drivers/net/wireless/ath/ath9k/init.c
+++ b/drivers/net/wireless/ath/ath9k/init.c
@@ -530,6 +530,9 @@ static int ath9k_init_softc(u16 devid, struct ath_softc *sc, u16 subsysid,
530 ah->hw_version.subsysid = subsysid; 530 ah->hw_version.subsysid = subsysid;
531 sc->sc_ah = ah; 531 sc->sc_ah = ah;
532 532
533 if (!sc->dev->platform_data)
534 ah->ah_flags |= AH_USE_EEPROM;
535
533 common = ath9k_hw_common(ah); 536 common = ath9k_hw_common(ah);
534 common->ops = &ath9k_common_ops; 537 common->ops = &ath9k_common_ops;
535 common->bus_ops = bus_ops; 538 common->bus_ops = bus_ops;