diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2023-04-04 13:13:56 +0200 |
---|---|---|
committer | pespin <pespin@sysmocom.de> | 2023-04-06 10:28:22 +0000 |
commit | 91a1295a5a465572f13f0f08ced794b9c7709318 (patch) | |
tree | d82480b506c6bdc65e441fdb9a486307113df9f5 /src/osmo-bts-oc2g/oml.c | |
parent | 8894fe6f4cfc4cf35aa2499057e088c4ed78fb6b (diff) |
bts_model_apply_oml(): Improve definition of parameter
The param is usually called obj_class, but here it is called kind.
In any case, change the param to pass the related struct gsm_abis_mo
(which still contains mo->obj_class), similar to what's done in other
bts_model functions such as bts_model_opstart().
Change-Id: Ife2e98a791455d5f7e7052356d559af2f1d4d185
Diffstat (limited to 'src/osmo-bts-oc2g/oml.c')
-rw-r--r-- | src/osmo-bts-oc2g/oml.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/osmo-bts-oc2g/oml.c b/src/osmo-bts-oc2g/oml.c index ead78fa5..dd4053cd 100644 --- a/src/osmo-bts-oc2g/oml.c +++ b/src/osmo-bts-oc2g/oml.c @@ -1810,7 +1810,8 @@ int bts_model_check_oml(struct gsm_bts *bts, uint8_t msg_type, } /* callback from OML */ -int bts_model_apply_oml(struct gsm_bts *bts, const struct msgb *msg, int kind, void *obj) +int bts_model_apply_oml(struct gsm_bts *bts, const struct msgb *msg, + struct gsm_abis_mo *mo, void *obj) { struct abis_om_fom_hdr *foh = msgb_l3(msg); struct gsm_bts_trx *trx; |