hostapd: fix "sh: out of range" errors
authorStijn Tintel <stijn@linux-ipv6.be>
Thu, 26 Nov 2020 00:04:02 +0000 (02:04 +0200)
committerStijn Tintel <stijn@linux-ipv6.be>
Thu, 26 Nov 2020 00:25:23 +0000 (02:25 +0200)
commit26c26e11a2131e3e07a9322c9bea6dcc107cddad
tree3417e943b9f42550794cec816ad887569756e8ec
parentc5ea37af7e4ce681c93c8b727a7fdf1f795db0ed
hostapd: fix "sh: out of range" errors

Several variables in hostapd.sh can be used uninitialized in numerical
comparisons, causing errors in logread:

netifd: radio24 (1668): sh: out of range

Set defaults for those variables to silence those errors.

Fixes: b518f07d4b8a ("hostapd: remove ieee80211v option")
Fixes: cc80cf53c50d ("hostapd: add FTM responder support")
Fixes: e66bd0eb0469 ("hostapd: make rrm report independent of ieee80211k setting")
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
package/network/services/hostapd/files/hostapd.sh