This improves readbility of whan new ongoing call status is being set. --- sap/sap-dummy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sap/sap-dummy.c b/sap/sap-dummy.c index 679adbb..9a21779 100644 --- a/sap/sap-dummy.c +++ b/sap/sap-dummy.c @@ -227,10 +227,10 @@ static DBusMessage *ongoing_call(DBusConnection *conn, DBusMessage *msg, if (ongoing_call_status && !ongoing) { /* An ongoing call has finished. Continue connection.*/ sap_status_ind(sap_data, SAP_STATUS_CHANGE_CARD_RESET); - ongoing_call_status = ongoing; + ongoing_call_status = FALSE; } else if (!ongoing_call_status && ongoing) { /* An ongoing call has started.*/ - ongoing_call_status = ongoing; + ongoing_call_status = TRUE; } DBG("OngoingCall status set to %d", ongoing_call_status); -- on behalf of ST-Ericsson -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html