hostapd: allow mixed TKIP/CCMP for 11n

SVN-Revision: 25543
lede-17.01
Jo-Philipp Wich 2011-02-15 08:49:45 +00:00
parent 72ca180fd7
commit f1ac8cf285
1 changed files with 2 additions and 2 deletions

View File

@ -50,8 +50,8 @@ hostapd_set_bss_options() {
esac esac
# enforce CCMP for 11ng and 11na # enforce CCMP for 11ng and 11na
case "$hwmode" in case "$hwmode:$crypto" in
*ng|*na) crypto="CCMP";; *ng:TKIP|*na:TKIP) crypto="CCMP TKIP";;
esac esac
# use crypto/auth settings for building the hostapd config # use crypto/auth settings for building the hostapd config