From: Michael Tremer Date: Wed, 23 Jul 2025 10:48:12 +0000 (+0200) Subject: hostapd: Fix shell syntax error X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e3a3208441fbdcbf66ca70780441750c499c9ca0;p=ipfire-2.x.git hostapd: Fix shell syntax error Signed-off-by: Michael Tremer --- diff --git a/src/initscripts/packages/hostapd b/src/initscripts/packages/hostapd index 7cbb143f8..18c6259c7 100644 --- a/src/initscripts/packages/hostapd +++ b/src/initscripts/packages/hostapd @@ -221,7 +221,7 @@ write_config() { esac local exponent="$(( (${vht_flags} >> 23) & 0x03 ))" - if [ "${exponent} -ge 0 ] && [ "${exponent} -le 7 ]; then + if [ "${exponent}" -ge 0 ] && [ "${exponent}" -le 7 ]; then vht_caps+=( "[MAX-A-MPDU-LEN-EXP${exponent}]" ) fi