diff --git a/os_dep/linux/wifi_regd.c b/os_dep/linux/wifi_regd.c index 936d8cd..adba665 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 \