hostapd: allow *ccmp+tkip and *aes+tkip as well for cipher override

SVN-Revision: 21998
This commit is contained in:
Jo-Philipp Wich 2010-06-30 21:03:56 +00:00
parent 79c9adc19f
commit f391ff4ec8

View 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