diff options
author | Jo-Philipp Wich <jo@mein.io> | 2017-01-23 14:52:27 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2017-01-23 14:56:20 +0100 |
commit | b850218584c0a7bc573579b0d21d243e7ae1bf03 (patch) | |
tree | bfc3b41b0b7885670fd3641d6625621ebe45386b /target/linux/x86/xen_domu/config-default | |
parent | ef08595c3fc85dc3bd99d5e0688f687cd1066eb6 (diff) | |
download | mtk-20170518-b850218584c0a7bc573579b0d21d243e7ae1bf03.zip mtk-20170518-b850218584c0a7bc573579b0d21d243e7ae1bf03.tar.gz mtk-20170518-b850218584c0a7bc573579b0d21d243e7ae1bf03.tar.bz2 |
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: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'target/linux/x86/xen_domu/config-default')
0 files changed, 0 insertions, 0 deletions