projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8dec9a9
)
atmodem: use macros for CLIP validity
author
Gustavo F. Padovan
<padovan@profusion.mobi>
Mon, 6 Dec 2010 20:12:30 +0000
(18:12 -0200)
committer
Denis Kenzior
<denkenz@gmail.com>
Fri, 10 Dec 2010 18:59:26 +0000
(12:59 -0600)
drivers/atmodem/voicecall.c
patch
|
blob
|
history
diff --git
a/drivers/atmodem/voicecall.c
b/drivers/atmodem/voicecall.c
index
c04bd69
..
a2ee49d
100644
(file)
--- a/
drivers/atmodem/voicecall.c
+++ b/
drivers/atmodem/voicecall.c
@@
-39,6
+39,8
@@
#include "gatchat.h"
#include "gatresult.h"
+#include "common.h"
+
#include "atmodem.h"
/* Amount of ms we wait between CLCC calls */
@@
-710,9
+712,9
@@
static void clip_notify(GAtResult *result, gpointer user_data)
return;
if (strlen(num) > 0)
- validity =
0
;
+ validity =
CLIP_VALIDITY_VALID
;
else
- validity =
2
;
+ validity =
CLIP_VALIDITY_NOT_AVAILABLE
;
/* Skip subaddr, satype and alpha */
g_at_result_iter_skip_next(&iter);