diff options
author | Sven Eckelmann <sven.eckelmann@openmesh.com> | 2018-05-14 15:11:45 +0200 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2018-05-14 18:37:44 +0200 |
commit | 547042398afac3ce702adab28c753e7c9ebed452 (patch) | |
tree | 58196e761a29a066f38df6ece1c5da69e1fe261d /package/kernel/mac80211/files | |
parent | bfbdeeb3de3da31f7e5f9bd429e079c2d839644a (diff) | |
download | upstream-547042398afac3ce702adab28c753e7c9ebed452.tar.gz upstream-547042398afac3ce702adab28c753e7c9ebed452.tar.bz2 upstream-547042398afac3ce702adab28c753e7c9ebed452.zip |
mac80211: Re-enable encrypted 11s meshpoint
The commit 574e4377fad5 ("mac80211: properly setup mesh interface") uses
the variable $wpa to decide whether encrypted meshpoint is requested by the
user or not. But the variable $wpa will only be set correctly after the
function wireless_vif_parse_encryption is called.
Fixes: 574e4377fad5 ("mac80211: properly setup mesh interface")
Signed-off-by: Sven Eckelmann <sven.eckelmann@openmesh.com>
Diffstat (limited to 'package/kernel/mac80211/files')
-rw-r--r-- | package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh | 2 |
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 dbe4aac7d7..70def756b2 100644 --- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh +++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh @@ -634,8 +634,8 @@ mac80211_setup_vif() { case "$mode" in mesh) json_get_vars key + wireless_vif_parse_encryption if [ "$wpa" -gt 0 -o "$auto_channel" -gt 0 ] || chan_is_dfs "$phy" "$channel"; then - wireless_vif_parse_encryption freq="$(get_freq "$phy" "$channel")" mac80211_setup_supplicant || failed=1 else |