aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/607-rt2x00-allow_disabling_bands_through_platform_data.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-06-15 20:14:06 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-06-15 20:14:06 +0000
commit5fb5b75668de4905edba27be4f503316e298b2e4 (patch)
tree1412b60e597f5cd3c927166f71c0bd3860e2a766 /package/mac80211/patches/607-rt2x00-allow_disabling_bands_through_platform_data.patch
parented11b6185b5c087dc4acabf1a43c6b82698169d1 (diff)
downloadmaster-187ad058-5fb5b75668de4905edba27be4f503316e298b2e4.tar.gz
master-187ad058-5fb5b75668de4905edba27be4f503316e298b2e4.tar.bz2
master-187ad058-5fb5b75668de4905edba27be4f503316e298b2e4.zip
mac80211: update to wireless-testing 2013-06-13 + latest backport infrastructure
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36939 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/607-rt2x00-allow_disabling_bands_through_platform_data.patch')
-rw-r--r--package/mac80211/patches/607-rt2x00-allow_disabling_bands_through_platform_data.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/mac80211/patches/607-rt2x00-allow_disabling_bands_through_platform_data.patch b/package/mac80211/patches/607-rt2x00-allow_disabling_bands_through_platform_data.patch
index 937f1c9cb2..5e6e27de98 100644
--- a/package/mac80211/patches/607-rt2x00-allow_disabling_bands_through_platform_data.patch
+++ b/package/mac80211/patches/607-rt2x00-allow_disabling_bands_through_platform_data.patch
@@ -12,7 +12,7 @@
#endif /* _RT2X00_PLATFORM_H */
--- a/drivers/net/wireless/rt2x00/rt2x00dev.c
+++ b/drivers/net/wireless/rt2x00/rt2x00dev.c
-@@ -939,6 +939,22 @@ static int rt2x00lib_probe_hw_modes(stru
+@@ -938,6 +938,22 @@ static int rt2x00lib_probe_hw_modes(stru
unsigned int num_rates;
unsigned int i;
@@ -27,7 +27,7 @@
+ }
+
+ if ((spec->supported_bands & SUPPORT_BAND_BOTH) == 0) {
-+ ERROR(rt2x00dev, "No supported bands\n");
++ rt2x00_err(rt2x00dev, "No supported bands\n");
+ return -EINVAL;
+ }
+
@@ -37,7 +37,7 @@
num_rates += 4;
--- a/drivers/net/wireless/rt2x00/rt2x00.h
+++ b/drivers/net/wireless/rt2x00/rt2x00.h
-@@ -425,6 +425,7 @@ struct hw_mode_spec {
+@@ -414,6 +414,7 @@ struct hw_mode_spec {
unsigned int supported_bands;
#define SUPPORT_BAND_2GHZ 0x00000001
#define SUPPORT_BAND_5GHZ 0x00000002