summaryrefslogtreecommitdiff
path: root/package/mac80211/patches/403-ath9k-fix-invalid-mac-address-handling.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/mac80211/patches/403-ath9k-fix-invalid-mac-address-handling.patch')
-rw-r--r--package/mac80211/patches/403-ath9k-fix-invalid-mac-address-handling.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/mac80211/patches/403-ath9k-fix-invalid-mac-address-handling.patch b/package/mac80211/patches/403-ath9k-fix-invalid-mac-address-handling.patch
index bd4354813b..65853b970a 100644
--- a/package/mac80211/patches/403-ath9k-fix-invalid-mac-address-handling.patch
+++ b/package/mac80211/patches/403-ath9k-fix-invalid-mac-address-handling.patch
@@ -1,14 +1,14 @@
--- a/drivers/net/wireless/ath/ath9k/hw.c
+++ b/drivers/net/wireless/ath/ath9k/hw.c
-@@ -16,6 +16,7 @@
-
+@@ -17,6 +17,7 @@
#include <linux/io.h>
#include <linux/slab.h>
+ #include <linux/module.h>
+#include <linux/etherdevice.h>
#include <asm/unaligned.h>
#include "hw.h"
-@@ -464,8 +465,16 @@ static int ath9k_hw_init_macaddr(struct
+@@ -465,8 +466,16 @@ static int ath9k_hw_init_macaddr(struct
common->macaddr[2 * i] = eeval >> 8;
common->macaddr[2 * i + 1] = eeval & 0xff;
}