diff options
author | Marit Henriksen <marit.henriksen@stericsson.com> | 2011-01-14 12:19:17 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2011-01-14 14:29:38 +0100 |
commit | 84e942ace386e5b4638121483d10e354b1792507 (patch) | |
tree | 1be1bae0d10f79f4f8d47a5a6110854c8d535ef7 /drivers/stemodem | |
parent | e732452eea1f41d5e86e864588e25b98ab872fcd (diff) | |
download | ofono-84e942ace386e5b4638121483d10e354b1792507.tar.bz2 |
stemodem: Use macro for clip validity.
Diffstat (limited to 'drivers/stemodem')
-rw-r--r-- | drivers/stemodem/voicecall.c | 2 |
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; |