2011-04-15 00:52:09 +08:00
|
|
|
--- a/net/wireless/reg.c
|
|
|
|
+++ b/net/wireless/reg.c
|
2014-04-06 18:41:23 +08:00
|
|
|
@@ -2000,6 +2000,8 @@ void regulatory_hint_country_ie(struct w
|
2011-04-15 00:52:09 +08:00
|
|
|
enum environment_cap env = ENVIRON_ANY;
|
2013-06-16 04:14:06 +08:00
|
|
|
struct regulatory_request *request = NULL, *lr;
|
2011-04-15 00:52:09 +08:00
|
|
|
|
|
|
|
+ return;
|
|
|
|
+
|
2013-06-16 04:14:06 +08:00
|
|
|
/* IE len must be evenly divisible by 2 */
|
|
|
|
if (country_ie_len & 0x01)
|
|
|
|
return;
|
2014-04-06 18:41:23 +08:00
|
|
|
@@ -2194,6 +2196,7 @@ static void restore_regulatory_settings(
|
2011-04-15 00:52:09 +08:00
|
|
|
|
|
|
|
void regulatory_hint_disconnect(void)
|
|
|
|
{
|
|
|
|
+ return;
|
2013-01-09 20:45:28 +08:00
|
|
|
REG_DBG_PRINT("All devices are disconnected, going to restore regulatory settings\n");
|
2011-04-15 00:52:09 +08:00
|
|
|
restore_regulatory_settings(false);
|
2013-01-09 20:45:28 +08:00
|
|
|
}
|