diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-06-15 20:14:06 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-06-15 20:14:06 +0000 |
commit | 5ca4d24cd1043e142515ac66c44a26a2371978d3 (patch) | |
tree | f7411ae4df9fed440179fab0be52e2f1640544ed /package/mac80211/patches/607-rt2x00-allow_disabling_bands_through_platform_data.patch | |
parent | d3a7b5633c7c1ea142cb8c0872cab484ca385c92 (diff) | |
download | upstream-5ca4d24cd1043e142515ac66c44a26a2371978d3.tar.gz upstream-5ca4d24cd1043e142515ac66c44a26a2371978d3.tar.bz2 upstream-5ca4d24cd1043e142515ac66c44a26a2371978d3.zip |
mac80211: update to wireless-testing 2013-06-13 + latest backport infrastructure
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36939
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.patch | 6 |
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 |