[ifxmips] fixes uboot compile error
[openwrt.git] / package / mac80211 / patches / 407-ath9k-override-mac-address-from-platform-data.patch
index 615de77..93ad941 100644 (file)
@@ -11,7 +11,7 @@
  #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);
@@ -39,8 +39,8 @@
 +              }
 +
        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 @@
This page took 0.030146 seconds and 4 git commands to generate.