Fix: Update the status to held properly
authorDenis Kenzior <denkenz@gmail.com>
Mon, 16 Nov 2009 17:19:23 +0000 (11:19 -0600)
committerDenis Kenzior <denkenz@gmail.com>
Mon, 16 Nov 2009 17:19:23 +0000 (11:19 -0600)
drivers/hfpmodem/voicecall.c

index 91a1844..2caf8ab 100644 (file)
@@ -319,7 +319,7 @@ static void atd_cb(gboolean ok, GAtResult *result, gpointer user_data)
                if (call->status != 0)
                        continue;
 
-               call->status = 2;
+               call->status = CALL_STATUS_HELD;
                ofono_voicecall_notify(vc, call);
        }