xpp: waitfor_xpds: Always remove Astribank semaphore
authorOron Peled <oron.peled@xorcom.com>
Tue, 28 Oct 2014 17:56:10 +0000 (13:56 -0400)
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>
Thu, 6 Nov 2014 11:29:19 +0000 (13:29 +0200)
If we waited -- no Astribanks are "in initialization"

Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>

xpp/waitfor_xpds

index 2d08013..fa7ab4f 100755 (executable)
@@ -154,7 +154,6 @@ if [ "$XPP_HOTPLUG_DAHDI" = yes ]; then
                echo -n 1>&2 "Other DAHDI initializations... "
                astribank_is_starting -v -w 1>&2
        fi
-else
-       # Non-hotplug -- Sequential initialization, remove semaphore
-       astribank_is_starting -v -r 1>&2
 fi
+# All Astribanks initialized -- remove semaphore
+astribank_is_starting -v -r 1>&2