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
commita55649082a4cc02e85d3292a4077548c180c92dd (patch)
treeb95a454e48f417c3975f71f2632be1bf2a4e8be0 /package/kernel/mac80211/patches/402-ath9k-fix-invalid-mac-address-handling.patch
parent9084b755067d4cafa4e22fe4f5211651b9355936 (diff)
downloadupstream-a55649082a4cc02e85d3292a4077548c180c92dd.tar.gz
upstream-a55649082a4cc02e85d3292a4077548c180c92dd.tar.bz2
upstream-a55649082a4cc02e85d3292a4077548c180c92dd.zip
ath9k: merge another round of cleanups and fixes submitted to linux-wireless
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39054
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;
}