ath9k: fix race conditions when stop device
[pandora-kernel.git] / drivers / net / wireless / ath / ath9k / ahb.c
index 1a984b0..25a6e44 100644 (file)
@@ -35,10 +35,9 @@ static bool ath_ahb_eeprom_read(struct ath_common *common, u32 off, u16 *data)
 
        pdata = (struct ath9k_platform_data *) pdev->dev.platform_data;
        if (off >= (ARRAY_SIZE(pdata->eeprom_data))) {
-               ath_print(common, ATH_DBG_FATAL,
-                         "%s: flash read failed, offset %08x "
-                         "is out of range\n",
-                         __func__, off);
+               ath_err(common,
+                       "%s: flash read failed, offset %08x is out of range\n",
+                       __func__, off);
                return false;
        }