2011-04-14 16:52:09 +00:00
|
|
|
--- a/net/wireless/reg.c
|
|
|
|
+++ b/net/wireless/reg.c
|
2020-11-07 16:50:20 +00:00
|
|
|
@@ -3047,6 +3047,8 @@ void regulatory_hint_country_ie(struct w
|
2011-04-14 16:52:09 +00:00
|
|
|
enum environment_cap env = ENVIRON_ANY;
|
2013-06-15 20:14:06 +00:00
|
|
|
struct regulatory_request *request = NULL, *lr;
|
2011-04-14 16:52:09 +00:00
|
|
|
|
|
|
|
+ return;
|
|
|
|
+
|
2013-06-15 20:14:06 +00:00
|
|
|
/* IE len must be evenly divisible by 2 */
|
|
|
|
if (country_ie_len & 0x01)
|
|
|
|
return;
|
2020-11-07 16:50:20 +00:00
|
|
|
@@ -3298,6 +3300,7 @@ static bool is_wiphy_all_set_reg_flag(en
|
2011-04-14 16:52:09 +00:00
|
|
|
|
|
|
|
void regulatory_hint_disconnect(void)
|
|
|
|
{
|
|
|
|
+ return;
|
2019-07-06 22:08:20 +00:00
|
|
|
/* Restore of regulatory settings is not required when wiphy(s)
|
|
|
|
* ignore IE from connected access point but clearance of beacon hints
|
|
|
|
* is required when wiphy(s) supports beacon hints.
|