aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2022-12-04 19:35:36 +0100
committerFelix Fietkau <nbd@nbd.name>2022-12-10 12:38:46 +0100
commita797f0e82a075fd78180c27692a1b404bedd38a8 (patch)
treef7f5a9d3dabc13d9aa0ee7bad9f74195d3cfa8d6 /package/kernel/mac80211
parent4c0919839d77ca33a6305116e2ff67234fb07514 (diff)
downloadupstream-a797f0e82a075fd78180c27692a1b404bedd38a8.tar.gz
upstream-a797f0e82a075fd78180c27692a1b404bedd38a8.tar.bz2
upstream-a797f0e82a075fd78180c27692a1b404bedd38a8.zip
hostapd: use wpa_supplicant for unencrypted mesh connections
It's more reliable than using iw Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/kernel/mac80211')
-rw-r--r--package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
index ed2805213e..0a7f787cff 100644
--- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
+++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
@@ -1033,7 +1033,7 @@ mac80211_setup_vif() {
mesh)
wireless_vif_parse_encryption
[ -z "$htmode" ] && htmode="NOHT";
- if [ "$wpa" -gt 0 -o "$auto_channel" -gt 0 ] || chan_is_dfs "$phy" "$channel"; then
+ if wpa_supplicant -vmesh || [ "$wpa" -gt 0 -o "$auto_channel" -gt 0 ] || chan_is_dfs "$phy" "$channel"; then
mac80211_setup_supplicant $vif_enable || failed=1
else
mac80211_setup_mesh $vif_enable