is_cm_service_for_emerg(): return false, not 0
Change-Id: Ife25ed26214abf7aea95b0b7943d9fa585868529
This commit is contained in:
parent
6aa666024b
commit
c1a73302c2
|
@ -112,7 +112,7 @@ static bool is_cm_service_for_emerg(struct msgb *msg)
|
|||
|
||||
if (msgb_l3len(msg) < sizeof(*gh) + sizeof(*cm)) {
|
||||
LOGP(DMSC, LOGL_ERROR, "CM ServiceRequest does not fit.\n");
|
||||
return 0;
|
||||
return false;
|
||||
}
|
||||
|
||||
cm = (struct gsm48_service_request *) &gh->data[0];
|
||||
|
|
Loading…
Reference in New Issue