Skip to content
Snippets Groups Projects
Commit 633c35aa authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

hostapd: fix stray "out of range" shell errors in hostapd.sh


The hostapd_append_wpa_key_mgmt() procedure uses the possibly uninitialized
$ieee80211r and $ieee80211w variables in a numerical comparisation, leading
to stray "netifd: radio0 (0000): sh: out of range" errors in logread when
WPA-PSK security is enabled.

Ensure that those variables are substituted with a default value in order to
avoid emitting this (harmless) shell error.

Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent 6699f58f
No related branches found
No related tags found
Loading
Loading
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