mirror of git://git.sysmocom.de/ofono
Fix conditional statement
This commit is contained in:
parent
9ca602c283
commit
2a8159b21b
|
@ -171,7 +171,8 @@ static bool registration_resp_cb(GIsiClient *client, const void *restrict data,
|
|||
NULL, NULL, NULL))
|
||||
goto error;
|
||||
|
||||
if (!(status & (SS_GSM_ACTIVE | SS_GSM_REGISTERED)))
|
||||
if (!(status & SS_GSM_ACTIVE)
|
||||
|| !(status & SS_GSM_REGISTERED))
|
||||
goto error;
|
||||
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue