2011-04-14 16:52:09 +00:00
|
|
|
--- a/net/wireless/reg.c
|
|
|
|
+++ b/net/wireless/reg.c
|
2013-02-23 01:12:36 +00:00
|
|
|
@@ -1730,6 +1730,8 @@ void regulatory_hint_11d(struct wiphy *w
|
2011-04-14 16:52:09 +00:00
|
|
|
enum environment_cap env = ENVIRON_ANY;
|
2013-01-09 12:45:28 +00:00
|
|
|
struct regulatory_request *request, *lr;
|
2011-04-14 16:52:09 +00:00
|
|
|
|
|
|
|
+ return;
|
|
|
|
+
|
|
|
|
mutex_lock(®_mutex);
|
2013-01-09 12:45:28 +00:00
|
|
|
lr = get_last_request();
|
2011-04-14 16:52:09 +00:00
|
|
|
|
2013-02-23 01:12:36 +00:00
|
|
|
@@ -1926,6 +1928,7 @@ static void restore_regulatory_settings(
|
2011-04-14 16:52:09 +00:00
|
|
|
|
|
|
|
void regulatory_hint_disconnect(void)
|
|
|
|
{
|
|
|
|
+ return;
|
2013-01-09 12:45:28 +00:00
|
|
|
REG_DBG_PRINT("All devices are disconnected, going to restore regulatory settings\n");
|
2011-04-14 16:52:09 +00:00
|
|
|
restore_regulatory_settings(false);
|
2013-01-09 12:45:28 +00:00
|
|
|
}
|