Skip to contentSkip to conversation

stemodem: Use macro for clip validity.

PATCH In review Marit Henriksen 2 participants 2 messages Jan 14, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 stemodem: Use macro for clip validity.

From: Marit Henriksen <[email protected]>

---
 drivers/stemodem/voicecall.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/stemodem/voicecall.c +1 -1
index 8f3533d..961b750 100644
@@ -116,7 +116,7 @@ static struct ofono_call *create_call(struct ofono_voicecall *vc, int type,
 	call->direction = direction;
 	call->status = status;
 
-	if (clip != 2) {
+	if (clip != CLIP_VALIDITY_NOT_AVAILABLE) {
 		strncpy(call->phone_number.number, num,
 			OFONO_MAX_PHONE_NUMBER_LENGTH);
 		call->phone_number.type = num_type;
Signature · 1 line
1.7.1
#1 lore raw

Hi Marit,

Quoted 2 lines
 drivers/stemodem/voicecall.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

patch has been applied. Thanks.

Regards

Marcel