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:
853bd2d
)
Use none_prefix in cssn
author
Denis Kenzior
<denkenz@gmail.com>
Tue, 29 Sep 2009 16:15:11 +0000
(11:15 -0500)
committer
Denis Kenzior
<denkenz@gmail.com>
Tue, 29 Sep 2009 19:56:22 +0000
(14:56 -0500)
drivers/atmodem/ssn.c
patch
|
blob
|
history
diff --git
a/drivers/atmodem/ssn.c
b/drivers/atmodem/ssn.c
index
bb77e95
..
26ad64f
100644
(file)
--- a/
drivers/atmodem/ssn.c
+++ b/
drivers/atmodem/ssn.c
@@
-37,6
+37,8
@@
#include "atmodem.h"
+static const char *none_prefix[] = { NULL };
+
static void cssi_notify(GAtResult *result, gpointer user_data)
{
struct ofono_ssn *ssn = user_data;
@@
-116,7
+118,7
@@
static int at_ssn_probe(struct ofono_ssn *ssn, unsigned int vendor,
GAtChat *chat = data;
ofono_ssn_set_data(ssn, chat);
- g_at_chat_send(chat, "AT+CSSN=1,1",
NULL
,
+ g_at_chat_send(chat, "AT+CSSN=1,1",
none_prefix
,
at_ssn_initialized, ssn, NULL);
return 0;