From 4f3b9ff36c453824c48af6490b6b706699869e3d Mon Sep 17 00:00:00 2001 From: "Gustavo F. Padovan" Date: Mon, 26 Sep 2011 14:26:56 -0300 Subject: telit: add support to enable SAP client --- plugins/sap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/sap.c') diff --git a/plugins/sap.c b/plugins/sap.c index f5bab8d5..ea3c1dd1 100644 --- a/plugins/sap.c +++ b/plugins/sap.c @@ -112,9 +112,9 @@ static void sap_remove(struct ofono_modem *modem) /* power up hardware */ static int sap_enable(struct ofono_modem *modem) { - DBG("%p", modem); + struct sap_data *data = ofono_modem_get_data(modem); - return 0; + return data->sap_driver->enable(data->hw_modem); } static int sap_disable(struct ofono_modem *modem) -- cgit v1.2.3