diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-12-16 13:33:58 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-12-16 13:33:58 +0000 |
commit | 667b0ae16994fe7353f58ba6bbb0867d062139a2 (patch) | |
tree | 57e8ff8e0d4135ad475abb13c8431f552e4e6d42 /target/linux/s3c24xx/files-2.6.30/drivers/power/hdq.c | |
parent | 18a31debc8790222bdf24de4a8fc382b5abf58f3 (diff) | |
download | openwrt-667b0ae16994fe7353f58ba6bbb0867d062139a2.tar.gz openwrt-667b0ae16994fe7353f58ba6bbb0867d062139a2.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>
Backport of r34716
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34717 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/s3c24xx/files-2.6.30/drivers/power/hdq.c')
0 files changed, 0 insertions, 0 deletions