projects
/
librecmc
/
librecmc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hostapd: allow mixed TKIP/CCMP for 11n
[librecmc/librecmc.git]
/
package
/
hostapd
/
files
/
hostapd.sh
diff --git
a/package/hostapd/files/hostapd.sh
b/package/hostapd/files/hostapd.sh
index d80729f6c98e5e52e2a02ec6a248a03c81ac06ab..acb92aac1778549341ddebf7862bc66b9b5cd161 100644
(file)
--- 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="CCM
P";;
+ case "$hwmode
:$crypto
" in
+ *ng
:TKIP|*na:TKIP) crypto="CCMP TKI
P";;
esac
# use crypto/auth settings for building the hostapd config