|
@@ -636,15 +636,15 @@ static int ath9k_of_init(struct ath_softc *sc)
|
|
|
ret = ath9k_eeprom_request(sc, eeprom_name);
|
|
ret = ath9k_eeprom_request(sc, eeprom_name);
|
|
|
if (ret)
|
|
if (ret)
|
|
|
return ret;
|
|
return ret;
|
|
|
|
|
+
|
|
|
|
|
+ ah->ah_flags &= ~AH_USE_EEPROM;
|
|
|
|
|
+ ah->ah_flags |= AH_NO_EEP_SWAP;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
mac = of_get_mac_address(np);
|
|
mac = of_get_mac_address(np);
|
|
|
if (mac)
|
|
if (mac)
|
|
|
ether_addr_copy(common->macaddr, mac);
|
|
ether_addr_copy(common->macaddr, mac);
|
|
|
|
|
|
|
|
- ah->ah_flags &= ~AH_USE_EEPROM;
|
|
|
|
|
- ah->ah_flags |= AH_NO_EEP_SWAP;
|
|
|
|
|
-
|
|
|
|
|
return 0;
|
|
return 0;
|
|
|
}
|
|
}
|
|
|
|
|
|