hostapd.conf: separate ieee80211n=1 and ht_capab=
This commit is contained in:
parent
7ecc846459
commit
a511219b50
|
@ -2041,10 +2041,11 @@ write_hostapd_conf() {
|
||||||
|
|
||||||
# wifi4 -----------------
|
# wifi4 -----------------
|
||||||
if [[ $IEEE80211N -eq 1 ]]; then
|
if [[ $IEEE80211N -eq 1 ]]; then
|
||||||
cat <<- EOF >> "$CONFDIR/hostapd.conf"
|
echo "ieee80211n=1" >> "$CONFDIR/hostapd.conf"
|
||||||
ieee80211n=1
|
fi
|
||||||
ht_capab=${HT_CAPAB}
|
|
||||||
EOF
|
if [[ -n "$HT_CAPAB" ]]; then
|
||||||
|
echo "ht_capab=${HT_CAPAB}" >> "$CONFDIR/hostapd.conf"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $REQUIREHT -eq 1 ]]; then
|
if [[ $REQUIREHT -eq 1 ]]; then
|
||||||
|
|
Loading…
Reference in New Issue