mac80211: revert a faulty upstream change which is causing channel 12 to be enabled...
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 405-regd_no_assoc_hints.patch
index 21524331c36819c91eae4b2adef3c4f6380dbe8c..282b0d8998b771acc0e91bcf465474f3e9d97c86 100644 (file)
@@ -1,6 +1,6 @@
 --- a/net/wireless/reg.c
 +++ b/net/wireless/reg.c
-@@ -2080,6 +2080,8 @@ void regulatory_hint_country_ie(struct w
+@@ -2072,6 +2072,8 @@ void regulatory_hint_country_ie(struct w
        enum environment_cap env = ENVIRON_ANY;
        struct regulatory_request *request = NULL, *lr;
  
@@ -9,7 +9,7 @@
        /* IE len must be evenly divisible by 2 */
        if (country_ie_len & 0x01)
                return;
-@@ -2276,6 +2278,7 @@ static void restore_regulatory_settings(
+@@ -2268,6 +2270,7 @@ static void restore_regulatory_settings(
  
  void regulatory_hint_disconnect(void)
  {