calypso: Fix issue with name presentation and voice calls
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 21 Jan 2011 12:07:04 +0000 (13:07 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 21 Jan 2011 12:07:04 +0000 (13:07 +0100)
commit19b9ffdb44ac71197ac1ac7c4502ee13194cd78f
tree0b204667d15aa7912e33d55779fa01a14ab6b8ed
parent35aa581a0dd82668907e0c8092dad4371e66e80a
calypso: Fix issue with name presentation and voice calls

The Calypso voice call driver uses an ofono_call object that is on the
stack. It is not automatically initilized to zero and thus causes to
have a name presentation that is not valid UTF-8. This in return makes
D-Bus fail and disconnect from the bus.

To fix this ensure that the ofono_call object is properly set to zero
first before populating it with values.
drivers/calypsomodem/voicecall.c