netifd: fix wpa mixed mode matching
authorRick Farina (Zero_Chaos) <zerochaos@gentoo.org>
Wed, 19 Sep 2018 14:43:42 +0000 (10:43 -0400)
committerJo-Philipp Wich <jo@mein.io>
Wed, 19 Sep 2018 14:52:04 +0000 (16:52 +0200)
commit3c8ac1c94d3be039c30a603082198768a82f4732
tree4b075e31c8db339b182eabb628e56e5ab907019a
parent23941d7ef3134de9c89c363896e45a0ea4fbe45b
netifd: fix wpa mixed mode matching

Change wpa mixed mode matching to not accidently catch wep+mixed.

All documented cases have the character between {wpa,psk} and mixed as a
'-' but no need to break things which were working, so preserve the *
case.

Reported-by: "Rick Farina (Zero_Chaos)" <zerochaos@gentoo.org>
[Allow "psk-mixed" to be prefixed, to align with the *psk2* and *psk* cases,
 slightly reword subject and commit message.]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
scripts/netifd-wireless.sh