All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/6] sap: add sap modem disable() support
@ 2011-09-29 17:54 Gustavo F. Padovan
  2011-09-29 17:54 ` [PATCH 2/6] telit: fix shutdown of bluetooth socket Gustavo F. Padovan
  2011-09-29 19:04 ` [PATCH 1/6] sap: add sap modem disable() support Denis Kenzior
  0 siblings, 2 replies; 7+ messages in thread
From: Gustavo F. Padovan @ 2011-09-29 17:54 UTC (permalink / raw)
  To: ofono

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

From: "Gustavo F. Padovan" <padovan@profusion.mobi>

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

diff --git a/plugins/sap.c b/plugins/sap.c
index ab658a5..102abc9 100644
--- a/plugins/sap.c
+++ b/plugins/sap.c
@@ -191,9 +191,11 @@ static int sap_enable(struct ofono_modem *modem)
 
 static int sap_disable(struct ofono_modem *modem)
 {
+	struct sap_data *data = ofono_modem_get_data(modem);
+
 	DBG("%p", modem);
 
-	return 0;
+	return data->sap_driver->disable(data->hw_modem);
 }
 
 static void sap_pre_sim(struct ofono_modem *modem)
-- 
1.7.6.2


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-09-29 19:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-29 17:54 [PATCH 1/6] sap: add sap modem disable() support Gustavo F. Padovan
2011-09-29 17:54 ` [PATCH 2/6] telit: fix shutdown of bluetooth socket Gustavo F. Padovan
2011-09-29 17:54   ` [PATCH 3/6] sap: also accept err = 0 in enable() Gustavo F. Padovan
2011-09-29 17:54     ` [PATCH 4/6] test: add support to select modem Gustavo F. Padovan
2011-09-29 17:54       ` [PATCH 5/6] " Gustavo F. Padovan
2011-09-29 17:54         ` [PATCH 6/6] " Gustavo F. Padovan
2011-09-29 19:04 ` [PATCH 1/6] sap: add sap modem disable() support 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.