lantiq: Tune the XWAY subtarget cflags
[openwrt/staging/yousong.git] / package / mac80211 / patches / 607-rt2x00-allow_disabling_bands_through_platform_data.patch
index 2114af245bbb7fa4400a238d6738f1cf4a134057..5e6e27de98467a58cb0f42727b1f3798812b6969 100644 (file)
@@ -12,7 +12,7 @@
  #endif /* _RT2X00_PLATFORM_H */
 --- a/drivers/net/wireless/rt2x00/rt2x00dev.c
 +++ b/drivers/net/wireless/rt2x00/rt2x00dev.c
-@@ -834,6 +834,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
-@@ -426,6 +426,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