From 5ca4d24cd1043e142515ac66c44a26a2371978d3 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 15 Jun 2013 20:14:06 +0000 Subject: mac80211: update to wireless-testing 2013-06-13 + latest backport infrastructure Signed-off-by: Felix Fietkau SVN-Revision: 36939 --- .../607-rt2x00-allow_disabling_bands_through_platform_data.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'package/mac80211/patches/607-rt2x00-allow_disabling_bands_through_platform_data.patch') 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 -- cgit v1.2.3