aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/402-ath9k-fix-invalid-mac-address-handling.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-12-14 17:07:08 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-12-14 17:07:08 +0000
commit43122f092ee5588d9f826d9ea470be8929b5be35 (patch)
treedcc6a45966b84db519841a242ff46181ef8943fa /package/kernel/mac80211/patches/402-ath9k-fix-invalid-mac-address-handling.patch
parentc411d7e762f2bd12685e86e0b162b88ec7432759 (diff)
downloadmaster-187ad058-43122f092ee5588d9f826d9ea470be8929b5be35.tar.gz
master-187ad058-43122f092ee5588d9f826d9ea470be8929b5be35.tar.bz2
master-187ad058-43122f092ee5588d9f826d9ea470be8929b5be35.zip
ath9k: merge another round of cleanups and fixes submitted to linux-wireless
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39054 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/mac80211/patches/402-ath9k-fix-invalid-mac-address-handling.patch')
-rw-r--r--package/kernel/mac80211/patches/402-ath9k-fix-invalid-mac-address-handling.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/kernel/mac80211/patches/402-ath9k-fix-invalid-mac-address-handling.patch b/package/kernel/mac80211/patches/402-ath9k-fix-invalid-mac-address-handling.patch
index c803c1ac84..e90034996a 100644
--- a/package/kernel/mac80211/patches/402-ath9k-fix-invalid-mac-address-handling.patch
+++ b/package/kernel/mac80211/patches/402-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
-@@ -18,6 +18,7 @@
- #include <linux/slab.h>
+@@ -19,6 +19,7 @@
#include <linux/module.h>
#include <linux/time.h>
+ #include <linux/bitops.h>
+#include <linux/etherdevice.h>
#include <asm/unaligned.h>
#include "hw.h"
-@@ -513,8 +514,16 @@ static int ath9k_hw_init_macaddr(struct
+@@ -504,8 +505,16 @@ static int ath9k_hw_init_macaddr(struct
common->macaddr[2 * i] = eeval >> 8;
common->macaddr[2 * i + 1] = eeval & 0xff;
}