aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/hostapd/files/netifd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'package/network/services/hostapd/files/netifd.sh')
-rw-r--r--package/network/services/hostapd/files/netifd.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/network/services/hostapd/files/netifd.sh b/package/network/services/hostapd/files/netifd.sh
index a7a6a64e7a..fb23e52e67 100644
--- a/package/network/services/hostapd/files/netifd.sh
+++ b/package/network/services/hostapd/files/netifd.sh
@@ -617,7 +617,10 @@ wpa_supplicant_add_network() {
psk)
local passphrase
- hostapd_append_wpa_key_mgmt
+ if [ "$_w_mode" != "mesh" ]; then
+ hostapd_append_wpa_key_mgmt
+ fi
+
key_mgmt="$wpa_key_mgmt"
if [ ${#key} -eq 64 ]; then