Skip to content
Snippets Groups Projects
Commit 460640b6 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

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: default avatarHannu Nyman <hannu.nyman@iki.fi>

SVN-Revision: 47361
parent 2fa75416
No related branches found
No related tags found
No related merge requests found
...@@ -194,6 +194,7 @@ hostapd_set_bss_options() { ...@@ -194,6 +194,7 @@ hostapd_set_bss_options() {
set_default hidden 0 set_default hidden 0
set_default wmm 1 set_default wmm 1
set_default uapsd 1 set_default uapsd 1
set_default eapol_version 0
append bss_conf "ctrl_interface=/var/run/hostapd" append bss_conf "ctrl_interface=/var/run/hostapd"
if [ "$isolate" -gt 0 ]; then if [ "$isolate" -gt 0 ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment