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 5c26818d79e..7eef1faee66 100644
--- a/drivers/net/wireless/ath/ath9k/init.c
+++ b/drivers/net/wireless/ath/ath9k/init.c
@@ -533,6 +533,9 @@ static int ath9k_init_softc(u16 devid, struct ath_softc *sc, u16 subsysid,
533 ah->hw_version.subsysid = subsysid; 533 ah->hw_version.subsysid = subsysid;
534 sc->sc_ah = ah; 534 sc->sc_ah = ah;
535 535
536 if (!sc->dev->platform_data)
537 ah->ah_flags |= AH_USE_EEPROM;
538
536 common = ath9k_hw_common(ah); 539 common = ath9k_hw_common(ah);
537 common->ops = &ath9k_common_ops; 540 common->ops = &ath9k_common_ops;
538 common->bus_ops = bus_ops; 541 common->bus_ops = bus_ops;