mirror of
https://github.com/garywill/linux-router.git
synced 2025-12-29 02:08:29 +01:00
hostapd.conf: separate ieee80211n=1 and ht_capab=
This commit is contained in:
@@ -2041,10 +2041,11 @@ write_hostapd_conf() {
|
||||
|
||||
# wifi4 -----------------
|
||||
if [[ $IEEE80211N -eq 1 ]]; then
|
||||
cat <<- EOF >> "$CONFDIR/hostapd.conf"
|
||||
ieee80211n=1
|
||||
ht_capab=${HT_CAPAB}
|
||||
EOF
|
||||
echo "ieee80211n=1" >> "$CONFDIR/hostapd.conf"
|
||||
fi
|
||||
|
||||
if [[ -n "$HT_CAPAB" ]]; then
|
||||
echo "ht_capab=${HT_CAPAB}" >> "$CONFDIR/hostapd.conf"
|
||||
fi
|
||||
|
||||
if [[ $REQUIREHT -eq 1 ]]; then
|
||||
|
||||
Reference in New Issue
Block a user