#include "hw.h"
#include "rc.h"
#include "initvals.h"
-@@ -448,17 +450,23 @@ static int ath9k_hw_rf_claim(struct ath_
+@@ -428,17 +430,23 @@ static int ath9k_hw_rf_claim(struct ath_
static int ath9k_hw_init_macaddr(struct ath_hw *ah)
{
struct ath_common *common = ath9k_hw_common(ah);
+ }
+
if (!is_valid_ether_addr(common->macaddr)) {
- DECLARE_MAC_BUF(macbuf);
-
+ ath_print(common, ATH_DBG_EEPROM,
+ "eeprom contains invalid mac address: %pM\n",
--- a/include/linux/ath9k_platform.h
+++ b/include/linux/ath9k_platform.h
@@ -23,6 +23,7 @@