scripts: fix previous commit
authorJo-Philipp Wich <jo@mein.io>
Wed, 19 Sep 2018 14:55:00 +0000 (16:55 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 19 Sep 2018 14:55:15 +0000 (16:55 +0200)
Actually change the glob pattern as described in the previous commit.

Fixes: 3c8ac1c ("netifd: fix wpa mixed mode matching")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
scripts/netifd-wireless.sh

index 45f84feeab0d589dbae9651b0ec291fb0f792bd2..fc077f28b80e88adf028209beece43b82ef14aed 100644 (file)
@@ -214,7 +214,7 @@ wireless_vif_parse_encryption() {
                wpa2*|*psk2*)
                        wpa=2
                ;;
-               wpa*mixed*|psk*mixed*)
+               wpa*mixed*|*psk*mixed*)
                        wpa=3
                ;;
                wpa*|*psk*)