* [PATCH] cdmamodem: Use correct prefixes to parse devinfo AT results correctly
@ 2011-08-03 13:44 Guillaume Zajac
2011-08-03 17:11 ` Denis Kenzior
0 siblings, 1 reply; 2+ messages in thread
From: Guillaume Zajac @ 2011-08-03 13:44 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 1548 bytes --]
---
drivers/cdmamodem/devinfo.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/cdmamodem/devinfo.c b/drivers/cdmamodem/devinfo.c
index 2a5813c..06b759c 100644
--- a/drivers/cdmamodem/devinfo.c
+++ b/drivers/cdmamodem/devinfo.c
@@ -67,7 +67,7 @@ static void cdma_query_manufacturer(struct ofono_devinfo *info,
struct cb_data *cbd = cb_data_new(cb, data);
GAtChat *chat = ofono_devinfo_get_data(info);
- cbd->user = "AT+GMI";
+ cbd->user = "+GMI:";
if (g_at_chat_send(chat, "AT+GMI", NULL, attr_cb, cbd, g_free) > 0)
return;
@@ -83,7 +83,7 @@ static void cdma_query_model(struct ofono_devinfo *info,
struct cb_data *cbd = cb_data_new(cb, data);
GAtChat *chat = ofono_devinfo_get_data(info);
- cbd->user = "AT+GMM";
+ cbd->user = "+GMM:";
if (g_at_chat_send(chat, "AT+GMM", NULL, attr_cb, cbd, g_free) > 0)
return;
@@ -99,7 +99,7 @@ static void cdma_query_revision(struct ofono_devinfo *info,
struct cb_data *cbd = cb_data_new(cb, data);
GAtChat *chat = ofono_devinfo_get_data(info);
- cbd->user = "AT+GMR";
+ cbd->user = "+GMR:";
if (g_at_chat_send(chat, "AT+GMR", NULL, attr_cb, cbd, g_free) > 0)
return;
@@ -115,7 +115,7 @@ static void cdma_query_serial(struct ofono_devinfo *info,
struct cb_data *cbd = cb_data_new(cb, data);
GAtChat *chat = ofono_devinfo_get_data(info);
- cbd->user = "AT+GSN";
+ cbd->user = "+GSN:";
if (g_at_chat_send(chat, "AT+GSN", NULL, attr_cb, cbd, g_free) > 0)
return;
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] cdmamodem: Use correct prefixes to parse devinfo AT results correctly
2011-08-03 13:44 [PATCH] cdmamodem: Use correct prefixes to parse devinfo AT results correctly Guillaume Zajac
@ 2011-08-03 17:11 ` Denis Kenzior
0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2011-08-03 17:11 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 232 bytes --]
Hi Guillaume,
On 08/03/2011 08:44 AM, Guillaume Zajac wrote:
> ---
> drivers/cdmamodem/devinfo.c | 8 ++++----
> 1 files changed, 4 insertions(+), 4 deletions(-)
>
Patch has been applied, thanks.
Regards,
-Denis
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-03 17:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-03 13:44 [PATCH] cdmamodem: Use correct prefixes to parse devinfo AT results correctly Guillaume Zajac
2011-08-03 17:11 ` Denis Kenzior
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.