mirror of https://github.com/hak5/openwrt.git
parent
72ca180fd7
commit
f1ac8cf285
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue