From d9c3a570a5160f4d62fa6a98766c5b50faec50cf 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 7523a15..df8f964 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); } } }