pdch: cosmetic: use GSM_MI_TYPE_* constants from libosmocore
Change-Id: I1d85c8eded68bc8aa8e90c33b36d335fa775ded2
This commit is contained in:
parent
d71c566ee6
commit
ce160147f4
|
@ -209,7 +209,7 @@ struct msgb *gprs_rlcmac_pdch::packet_paging_request()
|
||||||
osmo_mi_name(pag->identity_lv + 1, pag->identity_lv[0]));
|
osmo_mi_name(pag->identity_lv + 1, pag->identity_lv[0]));
|
||||||
|
|
||||||
/* try to add paging */
|
/* 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 */
|
/* TMSI */
|
||||||
len = 1 + 1 + 1 + 32 + 2 + 1;
|
len = 1 + 1 + 1 + 32 + 2 + 1;
|
||||||
if (pag->identity_lv[0] != 5) {
|
if (pag->identity_lv[0] != 5) {
|
||||||
|
|
Loading…
Reference in New Issue