All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] Use AT+CFUN? to query powered state
@ 2009-11-04  9:14 Martin Xu
  0 siblings, 0 replies; only message in thread
From: Martin Xu @ 2009-11-04  9:14 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 514 bytes --]

---
 plugins/mbm.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/plugins/mbm.c b/plugins/mbm.c
index fd4569c..602709d 100644
--- a/plugins/mbm.c
+++ b/plugins/mbm.c
@@ -187,6 +187,9 @@ static int mbm_enable(struct ofono_modem *modem)
 					NULL, NULL, NULL);
 	g_at_chat_send(data->chat, "AT*EMRDY?", none_prefix, NULL, NULL, NULL);
 
+	g_at_chat_send(data->chat, "AT+CFUN?", cfun_prefix,
+					cfun_query, modem, NULL);
+
 	return -EINPROGRESS;
 }
 
-- 
1.6.1.3


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-11-04  9:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-04  9:14 [PATCH 1/1] Use AT+CFUN? to query powered state Martin Xu

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.