From 35f64254c1a35df7e9240b1f81a2c45f9dca57fc Mon Sep 17 00:00:00 2001 From: kimocoder Date: Sat, 6 Apr 2019 08:10:11 +0200 Subject: [PATCH] Relax some wifi regional rules --- os_dep/linux/wifi_regd.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/os_dep/linux/wifi_regd.c b/os_dep/linux/wifi_regd.c index 189c5db..9cae5b5 100644 --- a/os_dep/linux/wifi_regd.c +++ b/os_dep/linux/wifi_regd.c @@ -43,13 +43,11 @@ static struct country_code_to_enum_rd allCountries[] = { /* 2G chan 12 - chan 13, PASSIV SCAN */ #define RTW_2GHZ_CH12_13 \ - REG_RULE(2467-10, 2472+10, 40, 0, 20, \ - NL80211_RRF_PASSIVE_SCAN) + REG_RULE(2467-10, 2472+10, 40, 0, 20, 0) /* 2G chan 14, PASSIVS SCAN, NO OFDM (B only) */ #define RTW_2GHZ_CH14 \ - REG_RULE(2484-10, 2484+10, 40, 0, 20, \ - NL80211_RRF_PASSIVE_SCAN | NL80211_RRF_NO_OFDM) + REG_RULE(2484-10, 2484+10, 40, 0, 20, 0) /* 5G chan 36 - chan 64 */ #define RTW_5GHZ_5150_5350 \