diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-02-15 08:49:45 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-02-15 08:49:45 +0000 |
commit | 200663f5d96c38484074fcb2849aae126dc6fb7f (patch) | |
tree | 723c010bbcfe3f7eb23c909a62d1627c81e58aa5 /package/hostapd/files | |
parent | d52a5ec1ec7c4389329010af841f8a69435ff6b8 (diff) |
[package] hostapd: allow mixed TKIP/CCMP for 11n
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25543 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 |