summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2018-04-13 01:37:06 +0200
committerDaniel Golle <daniel@makrotopia.org>2018-04-13 03:27:01 +0200
commit1356a66f94f31e636fafec514a1c658356ef51b3 (patch)
tree3eaf5774b95dfdc9f0284adfb0e7df0bfddfdf67 /package
parentd88934aa5aa9b61ec66a6f7ae0fb61d1ef889884 (diff)
downloadmtk-20170518-1356a66f94f31e636fafec514a1c658356ef51b3.zip
mtk-20170518-1356a66f94f31e636fafec514a1c658356ef51b3.tar.gz
mtk-20170518-1356a66f94f31e636fafec514a1c658356ef51b3.tar.bz2
mac80211: pass hostapd control socket to mesh-mode supplicant
Unlike when operating in Ad-Hoc mode, we apparently need to pass the hostapd control socket interface to wpa_supplicant when using 802.11s mesh mode. There also seems to still be something wrong with the logic setting channel and (v)htmode parameters... Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package')
-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 bf9d52a..3a1d475 100644
--- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
+++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
@@ -633,7 +633,7 @@ mac80211_setup_vif() {
if [ -n "$key" ]; then
wireless_vif_parse_encryption
freq="$(get_freq "$phy" "$channel")"
- mac80211_setup_supplicant_noctl || failed=1
+ mac80211_setup_supplicant || failed=1
else
json_get_vars mesh_id mcast_rate