aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/sbin/wifi
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2013-12-09 11:30:14 +0000
committerLuka Perkov <luka@openwrt.org>2013-12-09 11:30:14 +0000
commit3ceb6b3274d75fb5dc05b9eb42f2a98ee445f122 (patch)
tree30f8751c74750a210d9321522993e8fa17ffcd1c /package/base-files/files/sbin/wifi
parent18dd10190370853c3efc10b33711313a3ecb9a09 (diff)
downloadupstream-3ceb6b3274d75fb5dc05b9eb42f2a98ee445f122.tar.gz
upstream-3ceb6b3274d75fb5dc05b9eb42f2a98ee445f122.tar.bz2
upstream-3ceb6b3274d75fb5dc05b9eb42f2a98ee445f122.zip
base-files: fix whitespaces
Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 39006
Diffstat (limited to 'package/base-files/files/sbin/wifi')
-rwxr-xr-xpackage/base-files/files/sbin/wifi6
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"
;;