diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-12-16 13:23:37 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-12-16 13:23:37 +0000 |
commit | 056d75049d44f94ec356a2bb9e9718aaadbd35d5 (patch) | |
tree | b5f63219154fbd4e44bf3a583582284d4d0f156c /package/robocfg | |
parent | e9c0b958295bb055fefc03b1e356051f99218f28 (diff) | |
download | upstream-056d75049d44f94ec356a2bb9e9718aaadbd35d5.tar.gz upstream-056d75049d44f94ec356a2bb9e9718aaadbd35d5.tar.bz2 upstream-056d75049d44f94ec356a2bb9e9718aaadbd35d5.zip |
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: Paul Fertser <fercerpav@gmail.com>
SVN-Revision: 34716
Diffstat (limited to 'package/robocfg')
0 files changed, 0 insertions, 0 deletions