diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-02-15 08:49:45 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-02-15 08:49:45 +0000 |
commit | f1ac8cf2859bee611c5bba05a17f7ab0a2ebf5d0 (patch) | |
tree | 53398ab15bdc72b80aa2498caa9d4f1b33515c5a /package/hostapd/files | |
parent | 72ca180fd71bf76bac998aaf622869a5671e615d (diff) | |
download | master-31e0f0ae-f1ac8cf2859bee611c5bba05a17f7ab0a2ebf5d0.tar.gz master-31e0f0ae-f1ac8cf2859bee611c5bba05a17f7ab0a2ebf5d0.tar.bz2 master-31e0f0ae-f1ac8cf2859bee611c5bba05a17f7ab0a2ebf5d0.zip |
hostapd: allow mixed TKIP/CCMP for 11n
SVN-Revision: 25543
Diffstat (limited to 'package/hostapd/files')
-rw-r--r-- | package/hostapd/files/hostapd.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 |