mirror of git://git.sysmocom.de/ofono
rilmodem: update call direction from the isMT value
oFono cannot determines the call of direction when the voicecall is triggered in rilmodem
This commit is contained in:
parent
cf850de632
commit
48c5ab07af
|
@ -177,7 +177,7 @@ static void clcc_poll_cb(struct ril_msg *message, gpointer user_data)
|
||||||
call->id = parcel_r_int32(&rilp);
|
call->id = parcel_r_int32(&rilp);
|
||||||
call->phone_number.type = parcel_r_int32(&rilp);
|
call->phone_number.type = parcel_r_int32(&rilp);
|
||||||
parcel_r_int32(&rilp); /* isMpty */
|
parcel_r_int32(&rilp); /* isMpty */
|
||||||
parcel_r_int32(&rilp); /* isMT */
|
call->direction = parcel_r_int32(&rilp); /* isMT */
|
||||||
parcel_r_int32(&rilp); /* als */
|
parcel_r_int32(&rilp); /* als */
|
||||||
call->type = parcel_r_int32(&rilp); /* isVoice */
|
call->type = parcel_r_int32(&rilp); /* isVoice */
|
||||||
parcel_r_int32(&rilp); /* isVoicePrivacy */
|
parcel_r_int32(&rilp); /* isVoicePrivacy */
|
||||||
|
|
Loading…
Reference in New Issue