]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
hostapd: Fix a shell syntax error
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 23 Jul 2025 14:12:18 +0000 (16:12 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 22 Sep 2025 11:46:24 +0000 (11:46 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/initscripts/packages/hostapd

index 4c8854877e6fbe3810ce0a7a31682bf29355f710..210b2e29bbcefb24a97436026f589c03988c9b47 100644 (file)
@@ -227,7 +227,7 @@ write_config() {
        esac
 
        # Compressed Steering
-       case "$(( ${vht_flags} >> 13) & 0x03 ))" in
+       case "$(( (${vht_flags} >> 13) & 0x03 ))" in
                2)
                        vht_caps+=( "[BF-ANTENNA-2]" )
                        ;;