Skip to content
Snippets Groups Projects
Commit 9f108751 authored by Xiaofeng Meng's avatar Xiaofeng Meng Committed by Sukru Senli
Browse files

Wifi performance issues on non-default networks

ppacmd only accept "lan" or "wan" as the network name,
thus, any other network will not be added into acceleration.
parent fe96a30d
Branches
Tags
No related merge requests found
...@@ -27,7 +27,12 @@ wlan_ppa_process() { ...@@ -27,7 +27,12 @@ wlan_ppa_process() {
config_get network $cfg network config_get network $cfg network
wlan_ppa_${ACTION} $network $ifname lan=$(uci get network.$network.is_lan 2>/dev/null)
if [ "$lan" == "1" ]; then
wlan_ppa_${ACTION} lan $ifname
else
wlan_ppa_${ACTION} wan $ifname
fi
} }
[ "${INTERFACE%%[0-9.]*}" != "wlan" ] && return [ "${INTERFACE%%[0-9.]*}" != "wlan" ] && return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment