CC: hostapd: add default value to eapol_version (#20641)
authorFelix Fietkau <nbd@openwrt.org>
Mon, 2 Nov 2015 18:12:54 +0000 (18:12 +0000)
committerZoltan HERPAI <wigyori@uid0.hu>
Mon, 16 Oct 2017 11:38:17 +0000 (13:38 +0200)
commit08a15abe4f332282ef7a48afba3a1bf1aa123a9c
treed33a0b901c82614a630f65c4c4035f73af8626d6
parent416562992f1c5c64266fb650b4a0fc2626379cca
CC: 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