Holger Freyther has submitted this change and it was merged.

Change subject: mobile: Use enum and not magic value in the VTY
......................................................................


mobile: Use enum and not magic value in the VTY

Change-Id: I8a1d975997e592344327e6b0783bd0c5d2534b02
---
M src/host/layer23/src/mobile/vty_interface.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Neels Hofmeyr: Looks good to me, approved
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/host/layer23/src/mobile/vty_interface.c 
b/src/host/layer23/src/mobile/vty_interface.c
index 5a47736..eafed6e 100644
--- a/src/host/layer23/src/mobile/vty_interface.c
+++ b/src/host/layer23/src/mobile/vty_interface.c
@@ -2703,7 +2703,7 @@
                return CMD_SUCCESS;
 
        llist_for_each_entry(tmp, &ms_list, entity) {
-               if (tmp->shutdown == 3)
+               if (tmp->shutdown == MS_SHUTDOWN_COMPL)
                        continue;
                if (!strcmp(ms->settings.layer2_socket_path,
                                tmp->settings.layer2_socket_path)) {

-- 
To view, visit https://gerrit.osmocom.org/5099
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I8a1d975997e592344327e6b0783bd0c5d2534b02
Gerrit-PatchSet: 2
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Owner: Holger Freyther <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Holger Freyther <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <[email protected]>

Reply via email to