hostapd: add default value to eapol_version (#20641)
authorFelix Fietkau <nbd@openwrt.org>
Mon, 2 Nov 2015 18:12:54 +0000 (18:12 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 2 Nov 2015 18:12:54 +0000 (18:12 +0000)
commit41da8f4c6aebd4a157260285eb7270385ff7ee85
tree65b900e9ebbd65fa81136e16d4f9920e5f7f09a0
parentde13f1776d2ebca0ceb9ab3add3b980e05884a41
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>
SVN-Revision: 47361
package/network/services/hostapd/files/netifd.sh