From c8319348de74a8068582d29b512602147b41af3f Mon Sep 17 00:00:00 2001 From: Sergei Makarenkov Date: Sat, 25 Feb 2017 22:09:56 +0300 Subject: [PATCH] Clear NO_IR flag for all channels --- os_dep/linux/wifi_regd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os_dep/linux/wifi_regd.c b/os_dep/linux/wifi_regd.c index 5d03b22..bf45468 100644 --- a/os_dep/linux/wifi_regd.c +++ b/os_dep/linux/wifi_regd.c @@ -322,7 +322,7 @@ static void _rtw_reg_apply_flags(struct wiphy *wiphy) if (ch) ch->flags &= ~(IEEE80211_CHAN_DISABLED|IEEE80211_CHAN_NO_HT40PLUS| IEEE80211_CHAN_NO_HT40MINUS|IEEE80211_CHAN_NO_80MHZ| - IEEE80211_CHAN_NO_160MHZ); + IEEE80211_CHAN_NO_160MHZ|IEEE80211_CHAN_NO_IR); } } }