summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-06-30 21:03:56 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-06-30 21:03:56 +0000
commitf391ff4ec807918aa09595a14f0f06c81faa9531 (patch)
tree4a262a224f8dc41015f5201163e74f0bfed49a0a
parent79c9adc19fc00b8894649d4c0f1ad56e06252454 (diff)
downloadmtk-20170518-f391ff4ec807918aa09595a14f0f06c81faa9531.zip
mtk-20170518-f391ff4ec807918aa09595a14f0f06c81faa9531.tar.gz
mtk-20170518-f391ff4ec807918aa09595a14f0f06c81faa9531.tar.bz2
hostapd: allow *ccmp+tkip and *aes+tkip as well for cipher override
SVN-Revision: 21998
-rw-r--r--package/hostapd/files/hostapd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/hostapd/files/hostapd.sh b/package/hostapd/files/hostapd.sh
index a41c767..9edb070 100644
--- a/package/hostapd/files/hostapd.sh
+++ b/package/hostapd/files/hostapd.sh
@@ -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