ath9k: fix regulatory issues with multiple cards
[openwrt.git] / package / mac80211 / patches / 407-ath9k-override-mac-address-from-platform-data.patch
index dc3ba98..72f7751 100644 (file)
@@ -1,8 +1,8 @@
 --- a/drivers/net/wireless/ath/ath9k/hw.c
 +++ b/drivers/net/wireless/ath/ath9k/hw.c
-@@ -15,8 +15,10 @@
-  */
+@@ -17,8 +17,10 @@
+ #include <linux/io.h>
+ #include <linux/slab.h>
  #include <linux/etherdevice.h>
 +#include <linux/ath9k_platform.h>
  #include <asm/unaligned.h>
@@ -11,7 +11,7 @@
  #include "hw.h"
  #include "hw-ops.h"
  #include "rc.h"
-@@ -420,18 +422,23 @@ static void ath9k_hw_init_defaults(struc
+@@ -436,18 +438,23 @@ static void ath9k_hw_init_defaults(struc
  static int ath9k_hw_init_macaddr(struct ath_hw *ah)
  {
        struct ath_common *common = ath9k_hw_common(ah);
This page took 0.020733 seconds and 4 git commands to generate.