Review at  https://gerrit.osmocom.org/4357

oml: Use new API abis_nm_admin_name

Requires libosmocore Ieace734aaff3f07606113feddde65b75202d96d6

Change-Id: I3a013a924257490d9b26376d96f8e38cdf2cd971
---
M src/common/oml.c
1 file changed, 1 insertion(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/57/4357/1

diff --git a/src/common/oml.c b/src/common/oml.c
index 69a2642..adf6964 100644
--- a/src/common/oml.c
+++ b/src/common/oml.c
@@ -1036,8 +1036,7 @@
        /* Step 2: Do some global dependency/consistency checking */
        if (mo->nm_state.administrative == adm_state)
                LOGP(DOML, LOGL_NOTICE,
-                    "ADM state already was %s\n",
-                    get_value_string(abis_nm_adm_state_names, adm_state));
+                    "ADM state already was %s\n", 
abis_nm_admin_name(adm_state));
 
        /* Step 3: Ask BTS driver to apply the state chg */
        return bts_model_chg_adm_state(bts, mo, obj, adm_state);

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3a013a924257490d9b26376d96f8e38cdf2cd971
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <[email protected]>

Reply via email to