Skip to contentSkip to conversation

hfpmodem: fix callheld indicator

PATCH Superseded Frédéric Danis 1 participant 1 message Jul 22, 2011

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hfpmodem: fix callheld indicator

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(-)
drivers/hfpmodem/voicecall.c +0 -2
index 126c1e3..5824643 100644
@@ -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);
 		}
 	}
 
Signature · 1 line
1.7.1