X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/c3a643f552f4d3a15e17f08eddb616086cc34157..ea1d2bae48c55b596796498785fc5a7cc0428dc0:/package/mac80211/patches/407-ath9k-override-mac-address-from-platform-data.patch diff --git a/package/mac80211/patches/407-ath9k-override-mac-address-from-platform-data.patch b/package/mac80211/patches/407-ath9k-override-mac-address-from-platform-data.patch index 615de77a5..93ad941b7 100644 --- a/package/mac80211/patches/407-ath9k-override-mac-address-from-platform-data.patch +++ b/package/mac80211/patches/407-ath9k-override-mac-address-from-platform-data.patch @@ -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 @@