summaryrefslogtreecommitdiff
path: root/package/mac80211/patches/407-ath9k-override-mac-address-from-platform-data.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/mac80211/patches/407-ath9k-override-mac-address-from-platform-data.patch')
-rw-r--r--package/mac80211/patches/407-ath9k-override-mac-address-from-platform-data.patch8
1 files changed, 4 insertions, 4 deletions
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 748e4f4ab0..999ced42d6 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
@@ -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"
-@@ -417,18 +419,23 @@ static void ath9k_hw_init_defaults(struc
+@@ -416,18 +418,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);