diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-11-02 18:12:54 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-11-02 18:12:54 +0000 |
commit | 0c64656c0d2210967850fd7a4add2148cf1f3578 (patch) | |
tree | 65b900e9ebbd65fa81136e16d4f9920e5f7f09a0 /package/network/services | |
parent | f62d68c8e17900aeec2157be5cdadb5fbba8335c (diff) | |
download | master-187ad058-0c64656c0d2210967850fd7a4add2148cf1f3578.tar.gz master-187ad058-0c64656c0d2210967850fd7a4add2148cf1f3578.tar.bz2 master-187ad058-0c64656c0d2210967850fd7a4add2148cf1f3578.zip |
hostapd: add default value to eapol_version (#20641)
r46861 introduced a new option eapol_version to hostapd, but did not
provide a default value. When the option value is evaluated,
the non-existing value causes errors to the systen log:
"netifd: radio0: sh: out of range"
Add a no-op default value 0 for eapol_version. Only values 1 or 2 are
actually passed on, so 0 will not change the default action in hostapd.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47361 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/services')
-rw-r--r-- | package/network/services/hostapd/files/netifd.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/network/services/hostapd/files/netifd.sh b/package/network/services/hostapd/files/netifd.sh index bdfcbb252b..9b40a23451 100644 --- a/package/network/services/hostapd/files/netifd.sh +++ b/package/network/services/hostapd/files/netifd.sh @@ -194,6 +194,7 @@ hostapd_set_bss_options() { set_default hidden 0 set_default wmm 1 set_default uapsd 1 + set_default eapol_version 0 append bss_conf "ctrl_interface=/var/run/hostapd" if [ "$isolate" -gt 0 ]; then |