diff options
author | Luka Perkov <luka@openwrt.org> | 2013-12-09 11:30:14 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2013-12-09 11:30:14 +0000 |
commit | d723a38780ea983a8b8a0a6c834ad9d5312e43eb (patch) | |
tree | e1b8d817ec4469a466191b46fd471c5983a4ac79 /package/base-files/files/sbin/wifi | |
parent | 8392c54e2eac4f3181ebfe0d4197d21236e9aae8 (diff) | |
download | upstream-d723a38780ea983a8b8a0a6c834ad9d5312e43eb.tar.gz upstream-d723a38780ea983a8b8a0a6c834ad9d5312e43eb.tar.bz2 upstream-d723a38780ea983a8b8a0a6c834ad9d5312e43eb.zip |
[package] base-files: fix whitespaces
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39006 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/sbin/wifi')
-rwxr-xr-x | package/base-files/files/sbin/wifi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package/base-files/files/sbin/wifi b/package/base-files/files/sbin/wifi index f40cd7febb..897ee4ff14 100755 --- a/package/base-files/files/sbin/wifi +++ b/package/base-files/files/sbin/wifi @@ -64,7 +64,7 @@ prepare_key_wep() { [ "${#key}" -eq 10 -a $hex -eq 1 ] || \ [ "${#key}" -eq 26 -a $hex -eq 1 ] || { [ "${key:0:2}" = "s:" ] && key="${key#s:}" - key="$(echo -n "$key" | hexdump -ve '1/1 "%02x" ""')" + key="$(echo -n "$key" | hexdump -ve '1/1 "%02x" ""')" } echo "$key" } @@ -91,7 +91,7 @@ wifi_fixup_hwmode() { ;; *) hwmode= - if [ "${channel:-0}" -gt 0 ]; then + if [ "${channel:-0}" -gt 0 ]; then if [ "${channel:-0}" -gt 14 ]; then hwmode=a else @@ -211,7 +211,7 @@ scan_wifi() { case "$TYPE" in wifi-iface) config_get device "$CONFIG_SECTION" device - config_get vifs "$device" vifs + config_get vifs "$device" vifs append vifs "$CONFIG_SECTION" config_set "$device" vifs "$vifs" ;; |