|
|
@@ -144,7 +144,7 @@ Signed-off-by: Gabor Juhos <[email protected]>
|
|
|
ath_read_cachesize(common, &csz);
|
|
|
common->cachelsz = csz << 2; /* convert to bytes */
|
|
|
|
|
|
-+ if (pdata->eeprom_name) {
|
|
|
++ if (pdata && pdata->eeprom_name) {
|
|
|
+ ret = ath9k_eeprom_request(sc, pdata->eeprom_name);
|
|
|
+ if (ret)
|
|
|
+ goto err_eeprom;
|