gprs: use registration_status_to_string in debug messages

This commit is contained in:
Alexander Couzens 2017-09-07 22:22:59 +02:00 committed by Denis Kenzior
parent b81bdfe456
commit d08a6043a3
1 changed files with 2 additions and 1 deletions

View File

@ -2596,7 +2596,8 @@ void ofono_gprs_detached_notify(struct ofono_gprs *gprs)
void ofono_gprs_status_notify(struct ofono_gprs *gprs, int status)
{
DBG("%s status %d", __ofono_atom_get_path(gprs->atom), status);
DBG("%s status %s (%d)", __ofono_atom_get_path(gprs->atom),
registration_status_to_string(status), status);
gprs->status = status;