mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-20 10:51:27 +00:00
This makes the v5.7 based wifi feature set from OpenWrt HEAD work inside 19.07. Signed-off-by: John Crispin <john@phrozen.org>
20 lines
614 B
Diff
20 lines
614 B
Diff
--- a/net/wireless/reg.c
|
|
+++ b/net/wireless/reg.c
|
|
@@ -3041,6 +3041,8 @@ void regulatory_hint_country_ie(struct w
|
|
enum environment_cap env = ENVIRON_ANY;
|
|
struct regulatory_request *request = NULL, *lr;
|
|
|
|
+ return;
|
|
+
|
|
/* IE len must be evenly divisible by 2 */
|
|
if (country_ie_len & 0x01)
|
|
return;
|
|
@@ -3292,6 +3294,7 @@ static bool is_wiphy_all_set_reg_flag(en
|
|
|
|
void regulatory_hint_disconnect(void)
|
|
{
|
|
+ return;
|
|
/* 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.
|