pespin has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-bsc/+/28035 )

Change subject: ipaccess-config: Use proper define for nm availability value
......................................................................

ipaccess-config: Use proper define for nm availability value

Change-Id: I368646c54f434094319c72492c616aeda5e09e6a
---
M src/ipaccess/ipaccess-config.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  fixeria: Looks good to me, approved



diff --git a/src/ipaccess/ipaccess-config.c b/src/ipaccess/ipaccess-config.c
index 06fc9eb..8f377ae 100644
--- a/src/ipaccess/ipaccess-config.c
+++ b/src/ipaccess/ipaccess-config.c
@@ -689,7 +689,7 @@
                }
        } else if (evt == S_NM_STATECHG_OPER &&
            obj_class == NM_OC_RADIO_CARRIER &&
-           new_state->availability == 3) {
+           new_state->availability == NM_AVSTATE_OFF_LINE) {
                struct gsm_bts_trx *trx = obj;

                if (net_listen_testnr)

--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/28035
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I368646c54f434094319c72492c616aeda5e09e6a
Gerrit-Change-Number: 28035
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to