mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-22 21:34:37 +00:00
Merge pull request #531 from vespian/prozlach/ap-fix
Enable channels 36-48 for AP usage
This commit is contained in:
commit
34d9a185d4
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user