diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/init.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/init.c | 3 |
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 5c26818d79ec..7eef1faee668 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; |