projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hostapd: update to git snapshot of 2018-03-26
[openwrt/openwrt.git]
/
package
/
network
/
services
/
hostapd
/
files
/
hostapd.sh
diff --git
a/package/network/services/hostapd/files/hostapd.sh
b/package/network/services/hostapd/files/hostapd.sh
index 334694abfa4442fb842c199ba99fdc5c0f19f2a1..2d2c6a7c791082c3a31d8bef553a997b38a5b890 100644
(file)
--- a/
package/network/services/hostapd/files/hostapd.sh
+++ b/
package/network/services/hostapd/files/hostapd.sh
@@
-706,7
+706,11
@@
wpa_supplicant_add_network() {
if [ ${#key} -eq 64 ]; then
passphrase="psk=${key}"
else
- passphrase="psk=\"${key}\""
+ if [ "$_w_mode" = "mesh" ]; then
+ passphrase="sae_password=\"${key}\""
+ else
+ passphrase="psk=\"${key}\""
+ fi
fi
append network_data "$passphrase" "$N$T"
;;