hostapd: allow *ccmp+tkip and *aes+tkip as well for cipher override
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 30 Jun 2010 21:03:56 +0000 (21:03 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 30 Jun 2010 21:03:56 +0000 (21:03 +0000)
SVN-Revision: 21998

package/hostapd/files/hostapd.sh

index a41c7678a7044261ef7394e1489081d215b4b09d..9edb0708148e18ab36626288deb735c42615f12a 100644 (file)
@@ -38,7 +38,7 @@ hostapd_set_bss_options() {
 
        # explicit override for crypto setting
        case "$enc" in
-               *tkip+aes|*tkip+ccmp) crypto="CCMP TKIP";;
+               *tkip+aes|*tkip+ccmp|*aes+tkip|*ccmp+tkip) crypto="CCMP TKIP";;
                *aes|*ccmp) crypto="CCMP";;
                *tkip) crypto="TKIP";;
        esac