Enable channels 36-48 for AP usage

This commit is contained in:
kimocoder
2020-01-31 17:01:35 +01:00
parent 88b8e1a3d6
commit b5c03ffea6
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -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`
+4 -2
View File
@@ -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);
}
}
}