aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/609-rt2x00-allow_disabling_bands_through_dts.patch
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2016-07-14 18:15:48 +0200
committerMathias Kresin <dev@kresin.me>2016-11-09 20:02:18 +0100
commitb6832817eb39ff237f663a5f0e6245414470ed37 (patch)
tree7e592cf0837825bb86fb21f3566ca92d577664f7 /package/kernel/mac80211/patches/609-rt2x00-allow_disabling_bands_through_dts.patch
parente7c019c24d2c7b367b2c8e58b424d2b7c6c27724 (diff)
downloadupstream-b6832817eb39ff237f663a5f0e6245414470ed37.tar.gz
upstream-b6832817eb39ff237f663a5f0e6245414470ed37.tar.bz2
upstream-b6832817eb39ff237f663a5f0e6245414470ed37.zip
mac80211: rt2x00: add support for mac addr from device tree
Backport upstream accepted patch which allows to override the EEPROM mac address with one from device tree. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'package/kernel/mac80211/patches/609-rt2x00-allow_disabling_bands_through_dts.patch')
-rw-r--r--package/kernel/mac80211/patches/609-rt2x00-allow_disabling_bands_through_dts.patch10
1 files changed, 1 insertions, 9 deletions
diff --git a/package/kernel/mac80211/patches/609-rt2x00-allow_disabling_bands_through_dts.patch b/package/kernel/mac80211/patches/609-rt2x00-allow_disabling_bands_through_dts.patch
index 3fdaae759b..c27a2f44de 100644
--- a/package/kernel/mac80211/patches/609-rt2x00-allow_disabling_bands_through_dts.patch
+++ b/package/kernel/mac80211/patches/609-rt2x00-allow_disabling_bands_through_dts.patch
@@ -1,14 +1,6 @@
--- a/drivers/net/wireless/ralink/rt2x00/rt2x00dev.c
+++ b/drivers/net/wireless/ralink/rt2x00/rt2x00dev.c
-@@ -26,6 +26,7 @@
- #include <linux/module.h>
- #include <linux/slab.h>
- #include <linux/log2.h>
-+#include <linux/of.h>
-
- #include "rt2x00.h"
- #include "rt2x00lib.h"
-@@ -951,6 +952,16 @@ static int rt2x00lib_probe_hw_modes(stru
+@@ -961,6 +961,16 @@ static int rt2x00lib_probe_hw_modes(stru
struct ieee80211_rate *rates;
unsigned int num_rates;
unsigned int i;