1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

Merge pull request #363 from glaszig/fix/hostapd-wmm

properly enable wmm by fixing a typo
This commit is contained in:
Bill Zimmerman 2019-08-05 15:46:10 +02:00 committed by GitHub
commit 9b66c2cd03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -627,7 +627,7 @@ function SaveHostAPDConfig($wpa_array, $enc_types, $modes, $interfaces, $status)
$config.= 'hw_mode=g'.PHP_EOL; $config.= 'hw_mode=g'.PHP_EOL;
$config.= 'ieee80211n=1'.PHP_EOL; $config.= 'ieee80211n=1'.PHP_EOL;
// Enable basic Quality of service // Enable basic Quality of service
$config.= 'wme_enabled=1'.PHP_EOL; $config.= 'wmm_enabled=1'.PHP_EOL;
} else { } else {
$config.= 'hw_mode='.$_POST['hw_mode'].PHP_EOL; $config.= 'hw_mode='.$_POST['hw_mode'].PHP_EOL;
$config.= 'ieee80211n=0'.PHP_EOL; $config.= 'ieee80211n=0'.PHP_EOL;