summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2015-12-03 10:12:02 -0600
committerDenis Kenzior <denkenz@gmail.com>2015-12-03 10:12:02 -0600
commit4c2cd6fce6f64f831fb98043f62d97180e5c36bd (patch)
tree036fabf39a2d4d3994bd702e1a5508c0ee5be4c5 /drivers
parenta02f1647300e7334394d5e6048487ce1f8652ec0 (diff)
downloadofono-4c2cd6fce6f64f831fb98043f62d97180e5c36bd.tar.bz2
rilmodem: inline request_oem_hook_raw
Diffstat (limited to 'drivers')
-rw-r--r--drivers/rilmodem/sim.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/rilmodem/sim.c b/drivers/rilmodem/sim.c
index 901aa69d..ae34c02c 100644
--- a/drivers/rilmodem/sim.c
+++ b/drivers/rilmodem/sim.c
@@ -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,