use NM_MT_* enum instead of hard-coded values

This commit is contained in:
Harald Welte 2009-01-03 08:16:25 +00:00
parent 52aab5445d
commit 227d4073fb
1 changed files with 2 additions and 2 deletions

View File

@ -419,9 +419,9 @@ static int __simple_cmd(struct gsm_bts *bts, u_int8_t msg_type)
int abis_nm_event_reports(struct gsm_bts *bts, int on)
{
if (on == 0)
return __simple_cmd(bts, 0x63);
return __simple_cmd(bts, NM_MT_STOP_EVENT_REP);
else
return __simple_cmd(bts, 0x66);
return __simple_cmd(bts, NM_MT_REST_EVENT_REP);
}
int abis_nm_reset_resource(struct gsm_bts *bts)