aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-11-28 18:00:53 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-11-28 18:00:53 +0000
commitff7c793af5a18b56313c8bc0e10f05d3ab7f515a (patch)
tree7564dc817613531511c79befa25de633b300223f
parentef499299ea2de267a8fe5931da7a3c2f605ec07d (diff)
downloadupstream-ff7c793af5a18b56313c8bc0e10f05d3ab7f515a.tar.gz
upstream-ff7c793af5a18b56313c8bc0e10f05d3ab7f515a.tar.bz2
upstream-ff7c793af5a18b56313c8bc0e10f05d3ab7f515a.zip
mac80211: remove trailing whitespaces in mac80211.sh
SVN-Revision: 18582
-rw-r--r--package/mac80211/files/lib/wifi/mac80211.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh
index f530d7e51d..534a737a4d 100644
--- a/package/mac80211/files/lib/wifi/mac80211.sh
+++ b/package/mac80211/files/lib/wifi/mac80211.sh
@@ -134,7 +134,7 @@ enable_mac80211() {
esac
# All interfaces must have unique mac addresses
- # which can either be explicitly set in the device
+ # which can either be explicitly set in the device
# section, or automatically generated
config_get macaddr "$device" macaddr
local mac_1="${macaddr%%:*}"
@@ -142,7 +142,7 @@ enable_mac80211() {
config_get vif_mac "$vif" macaddr
[ -n "$vif_mac" ] || {
- if [ "$i" -gt 0 ]; then
+ if [ "$i" -gt 0 ]; then
offset="$(( 2 + $i * 4 ))"
else
offset="0"
@@ -168,7 +168,7 @@ enable_mac80211() {
# none -> NO encryption
#
# wep + keymgmt = '' -> we use iw to connect to the
- # network.
+ # network.
#
# wep + keymgmt = 'NONE' -> wpa_supplicant will be
# configured to handle the wep connection
@@ -182,7 +182,7 @@ enable_mac80211() {
zidx = idx - 1
config_get key "$vif" "key${idx}"
if [ -n "$key" ]; then
- append keystring "${zidx}:${key} "
+ append keystring "${zidx}:${key} "
fi
done
fi
@@ -238,7 +238,7 @@ enable_mac80211() {
;;
sta|mesh)
config_get bssid "$vif" bssid
- case "$enc" in
+ case "$enc" in
wep)
if [ -e "$keymgmt" ]; then
[ -n "$keystring" ] &&
@@ -293,7 +293,7 @@ detect_mac80211() {
config_foreach check_device wifi-device
[ "$found" -gt 0 ] && continue
- while :; do
+ while :; do
config_get type "wifi$devidx" type
[ -n "$type" ] || break
devidx=$(($devidx + 1))