rilmodem: inline request_oem_hook_raw

This commit is contained in:
Denis Kenzior 2015-12-03 10:12:02 -06:00
parent a02f164730
commit 4c2cd6fce6
1 changed files with 2 additions and 2 deletions

View File

@ -1018,8 +1018,8 @@ static void ril_query_pin_retries(struct ofono_sim *sim,
int32_t oem_req =
INF_RIL_REQUEST_OEM_GET_REMAIN_SIM_PIN_ATTEMPTS;
g_ril_request_oem_hook_raw(sd->ril, &oem_req,
sizeof(oem_req), &rilp);
parcel_init(&rilp);
parcel_w_raw(&rilp, &oem_req, sizeof(oem_req));
/* Send request to RIL */
if (g_ril_send(sd->ril, RIL_REQUEST_OEM_HOOK_RAW, &rilp,