summaryrefslogtreecommitdiffstats
path: root/drivers/stemodem
diff options
context:
space:
mode:
authorMarit Henriksen <marit.henriksen@stericsson.com>2011-01-14 12:19:17 +0100
committerMarcel Holtmann <marcel@holtmann.org>2011-01-14 14:29:38 +0100
commit84e942ace386e5b4638121483d10e354b1792507 (patch)
tree1be1bae0d10f79f4f8d47a5a6110854c8d535ef7 /drivers/stemodem
parente732452eea1f41d5e86e864588e25b98ab872fcd (diff)
downloadofono-84e942ace386e5b4638121483d10e354b1792507.tar.bz2
stemodem: Use macro for clip validity.
Diffstat (limited to 'drivers/stemodem')
-rw-r--r--drivers/stemodem/voicecall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/stemodem/voicecall.c b/drivers/stemodem/voicecall.c
index 58b535ba..06156bf1 100644
--- a/drivers/stemodem/voicecall.c
+++ b/drivers/stemodem/voicecall.c
@@ -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;