Open Source Telephony
 help / color / mirror / Atom feed
* [PATCH] hfpmodem: fix callheld indicator
@ 2011-07-22 16:27 =?unknown-8bit?q?Fr=C3=A9d=C3=A9ric?= Danis
  0 siblings, 0 replies; only message in thread
From: =?unknown-8bit?q?Fr=C3=A9d=C3=A9ric?= Danis @ 2011-07-22 16:27 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 753 bytes --]

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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-07-22 16:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-22 16:27 [PATCH] hfpmodem: fix callheld indicator =?unknown-8bit?q?Fr=C3=A9d=C3=A9ric?= Danis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox