Merge pull request #531 from vespian/prozlach/ap-fix

Enable channels 36-48 for AP usage
This commit is contained in:
Christian Bremvåg 2020-01-11 07:52:39 +01:00 committed by GitHub
commit 34d9a185d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);
}
}
}