From: Jo-Philipp Wich Date: Tue, 15 Feb 2011 08:49:45 +0000 (+0000) Subject: hostapd: allow mixed TKIP/CCMP for 11n X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f1ac8cf2859bee611c5bba05a17f7ab0a2ebf5d0;p=librecmc%2Flibrecmc.git hostapd: allow mixed TKIP/CCMP for 11n SVN-Revision: 25543 --- diff --git a/package/hostapd/files/hostapd.sh b/package/hostapd/files/hostapd.sh index d80729f6c9..acb92aac17 100644 --- a/package/hostapd/files/hostapd.sh +++ b/package/hostapd/files/hostapd.sh @@ -50,8 +50,8 @@ hostapd_set_bss_options() { esac # enforce CCMP for 11ng and 11na - case "$hwmode" in - *ng|*na) crypto="CCMP";; + case "$hwmode:$crypto" in + *ng:TKIP|*na:TKIP) crypto="CCMP TKIP";; esac # use crypto/auth settings for building the hostapd config