mirror of
https://github.com/chinawrj/rtl8812au
synced 2024-11-15 02:16:08 +00:00
Enable channels 36-48 for AP usage
This commit is contained in:
parent
65174c4ded
commit
600e73f36a
@ -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