ipaccess-config: Use proper define for nm availability value

Change-Id: I368646c54f434094319c72492c616aeda5e09e6a
This commit is contained in:
Pau Espin 2022-05-04 15:38:41 +02:00
parent 35dca11585
commit 5cc9ed5567
1 changed files with 1 additions and 1 deletions

View File

@ -689,7 +689,7 @@ static int nm_state_event(int evt, uint8_t obj_class, void *obj,
}
} 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)