1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-09-19 20:50:41 +00:00

Enable channels 36-48 for AP usage

This commit is contained in:
Pawel Rozlach 2020-01-07 14:53:28 +01:00
parent 65174c4ded
commit 600e73f36a

View File

@ -269,7 +269,7 @@ void rtw_regd_apply_flags(struct wiphy *wiphy)
u16 channel;
//u32 freq;
/* all channels disable */
/* all channels enable */
for (i = 0; i < NUM_NL80211_BANDS; i++) {
sband = wiphy->bands[i];
@ -280,7 +280,7 @@ void rtw_regd_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);
}
}
}