mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-22 04:18:10 +00:00
umbim: fix whitespace issues
Make leading whitespaces consistent and remove trailing one. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Signed-off-by: maurerr <mariusd84@gmail.com>
This commit is contained in:
parent
c086bc26f3
commit
7aede62871
@ -1,7 +1,7 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=umbim
|
PKG_NAME:=umbim
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=$(AUTORELEASE)
|
||||||
|
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE_URL=$(PROJECT_GIT)/project/umbim.git
|
PKG_SOURCE_URL=$(PROJECT_GIT)/project/umbim.git
|
||||||
|
@ -91,7 +91,7 @@ _proto_mbim_setup() {
|
|||||||
tid=$((tid + 1))
|
tid=$((tid + 1))
|
||||||
|
|
||||||
echo "mbim[$$]" "Checking subscriber"
|
echo "mbim[$$]" "Checking subscriber"
|
||||||
umbim $DBG -n -t $tid -d $device subscriber || {
|
umbim $DBG -n -t $tid -d $device subscriber || {
|
||||||
echo "mbim[$$]" "Subscriber init failed"
|
echo "mbim[$$]" "Subscriber init failed"
|
||||||
proto_notify_error "$interface" NO_SUBSCRIBER
|
proto_notify_error "$interface" NO_SUBSCRIBER
|
||||||
return 1
|
return 1
|
||||||
@ -99,7 +99,7 @@ _proto_mbim_setup() {
|
|||||||
tid=$((tid + 1))
|
tid=$((tid + 1))
|
||||||
|
|
||||||
echo "mbim[$$]" "Register with network"
|
echo "mbim[$$]" "Register with network"
|
||||||
umbim $DBG -n -t $tid -d $device registration || {
|
umbim $DBG -n -t $tid -d $device registration || {
|
||||||
echo "mbim[$$]" "Subscriber registration failed"
|
echo "mbim[$$]" "Subscriber registration failed"
|
||||||
proto_notify_error "$interface" NO_REGISTRATION
|
proto_notify_error "$interface" NO_REGISTRATION
|
||||||
return 1
|
return 1
|
||||||
@ -107,13 +107,13 @@ _proto_mbim_setup() {
|
|||||||
tid=$((tid + 1))
|
tid=$((tid + 1))
|
||||||
|
|
||||||
echo "mbim[$$]" "Attach to network"
|
echo "mbim[$$]" "Attach to network"
|
||||||
umbim $DBG -n -t $tid -d $device attach || {
|
umbim $DBG -n -t $tid -d $device attach || {
|
||||||
echo "mbim[$$]" "Failed to attach to network"
|
echo "mbim[$$]" "Failed to attach to network"
|
||||||
proto_notify_error "$interface" ATTACH_FAILED
|
proto_notify_error "$interface" ATTACH_FAILED
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
tid=$((tid + 1))
|
tid=$((tid + 1))
|
||||||
|
|
||||||
echo "mbim[$$]" "Connect to network"
|
echo "mbim[$$]" "Connect to network"
|
||||||
while ! umbim $DBG -n -t $tid -d $device connect "$apn" "$auth" "$username" "$password"; do
|
while ! umbim $DBG -n -t $tid -d $device connect "$apn" "$auth" "$username" "$password"; do
|
||||||
tid=$((tid + 1))
|
tid=$((tid + 1))
|
||||||
|
Loading…
Reference in New Issue
Block a user