Removing release of active calls when receive callheld move from 1
(active and held calls) to 2 (all calls on hold). Intermediate state
callheld=2 during a swap calls command is allowed by PTS.
---
 drivers/hfpmodem/voicecall.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/hfpmodem/voicecall.c b/drivers/hfpmodem/voicecall.c
index 126c1e3..5824643 100644
--- a/drivers/hfpmodem/voicecall.c
+++ b/drivers/hfpmodem/voicecall.c
@@ -1042,8 +1042,6 @@ static void ciev_callheld_notify(struct ofono_voicecall 
*vc,
                                call->status = CALL_STATUS_HELD;
                                ofono_voicecall_notify(vc, call);
                        }
-               } else if (callheld == 1) {
-                       release_with_status(vc, CALL_STATUS_ACTIVE);
                }
        }
 
-- 
1.7.1

_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to