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 | 9f1a6bc1fbf6707cb73a4f4c53d326f3d6ef300e (patch) | |
tree | 723c010bbcfe3f7eb23c909a62d1627c81e58aa5 | |
parent | b71c26a5b1f52a0767f9faad96e3aedfa63465b6 (diff) | |
download | upstream-9f1a6bc1fbf6707cb73a4f4c53d326f3d6ef300e.tar.gz upstream-9f1a6bc1fbf6707cb73a4f4c53d326f3d6ef300e.tar.bz2 upstream-9f1a6bc1fbf6707cb73a4f4c53d326f3d6ef300e.zip |
[package] hostapd: allow mixed TKIP/CCMP for 11n
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25543 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 |