|
@@ -508,7 +508,7 @@ static int ath9k_init_softc(u16 devid, struct ath_softc *sc,
|
|
sc->tx99_power = MAX_RATE_POWER + 1;
|
|
sc->tx99_power = MAX_RATE_POWER + 1;
|
|
init_waitqueue_head(&sc->tx_wait);
|
|
init_waitqueue_head(&sc->tx_wait);
|
|
|
|
|
|
- if (!pdata) {
|
|
|
|
|
|
+ if (!pdata || pdata->use_eeprom) {
|
|
ah->ah_flags |= AH_USE_EEPROM;
|
|
ah->ah_flags |= AH_USE_EEPROM;
|
|
sc->sc_ah->led_pin = -1;
|
|
sc->sc_ah->led_pin = -1;
|
|
} else {
|
|
} else {
|