[gbinder-radio] More logging in radio_request_default_retry()

To make it clear why request was (or wasn't) retried
This commit is contained in:
Slava Monich
2022-01-19 01:22:12 +02:00
parent 6a4f434592
commit 02789fa6a4

View File

@@ -125,7 +125,17 @@ radio_request_default_retry(
const GBinderReader* reader,
void* user_data)
{
return status != RADIO_TX_STATUS_OK || error != RADIO_ERROR_NONE;
if (status != RADIO_TX_STATUS_OK) {
GVERBOSE_("req %p %u (%08x) status %d", req, req->code, req->serial,
status);
return TRUE;
} else if (error != RADIO_ERROR_NONE) {
GVERBOSE_("req %p %u (%08x) error %d", req, req->code, req->serial,
error);
return TRUE;
} else {
return FALSE;
}
}
static