mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2026-02-19 01:10:32 -05:00
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