mirror of
https://github.com/aircrack-ng/rtl8188eus.git
synced 2026-07-16 13:07:00 +00:00
Enable channels 36-48 for AP usage
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
PACKAGE_NAME="realtek-rtl8188eus"
|
||||
PACKAGE_VERSION="5.7.6.1~20200125"
|
||||
PACKAGE_VERSION="5.7.6.1~20200131"
|
||||
CLEAN="'make' clean"
|
||||
BUILT_MODULE_NAME[0]=8188eu
|
||||
PROCS_NUM=`nproc`
|
||||
|
||||
@@ -265,7 +265,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];
|
||||
|
||||
@@ -274,7 +274,9 @@ void rtw_regd_apply_flags(struct wiphy *wiphy)
|
||||
ch = &sband->channels[j];
|
||||
|
||||
if (ch)
|
||||
ch->flags = IEEE80211_CHAN_DISABLED;
|
||||
ch->flags &= ~(IEEE80211_CHAN_DISABLED|IEEE80211_CHAN_NO_HT40PLUS|
|
||||
IEEE80211_CHAN_NO_HT40MINUS|IEEE80211_CHAN_NO_80MHZ|
|
||||
IEEE80211_CHAN_NO_160MHZ|IEEE80211_CHAN_NO_IR);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user