pdch: cosmetic: use GSM_MI_TYPE_* constants from libosmocore

Change-Id: I1d85c8eded68bc8aa8e90c33b36d335fa775ded2
This commit is contained in:
Vadim Yanitskiy 2020-03-26 16:18:17 +07:00 committed by pespin
parent d71c566ee6
commit ce160147f4
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ struct msgb *gprs_rlcmac_pdch::packet_paging_request()
osmo_mi_name(pag->identity_lv + 1, pag->identity_lv[0]));
/* try to add paging */
if ((pag->identity_lv[1] & 0x07) == 4) {
if ((pag->identity_lv[1] & GSM_MI_TYPE_MASK) == GSM_MI_TYPE_TMSI) {
/* TMSI */
len = 1 + 1 + 1 + 32 + 2 + 1;
if (pag->identity_lv[0] != 5) {