Skip to content
Snippets Groups Projects
Commit 056d7504 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

wpa_supplicant.sh: always use parameters from the current section


Using variables from the outer scope unnecessarily complicates the code and
leads to issues.

This patch fixes the bug when having an "adhoc" wifi-iface section before a
"sta" section prevents wpa_supplicant from using the key specified in the
corresponding section as it tries to use the "adhoc" key instead (1 by
default).

Signed-off-by: default avatarPaul Fertser <fercerpav@gmail.com>

SVN-Revision: 34716
parent e9c0b958
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment