1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2025-01-19 09:11:34 +00:00

Clear NO_IR flag for all channels

This commit is contained in:
Christian B 2019-01-25 21:25:49 +01:00 committed by GitHub
parent dc48be9b34
commit f6649f0517
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -336,7 +336,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);
#if (LINUX_VERSION_CODE < KERNEL_VERSION(3, 14, 0))
IEEE80211_CHAN_NO_IBSS|IEEE80211_CHAN_PASSIVE_SCAN);
#else