diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-09-26 14:26:56 -0300 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2011-09-26 13:37:55 -0500 |
commit | 4f3b9ff36c453824c48af6490b6b706699869e3d (patch) | |
tree | 20436e18e293556879fc3386b949259438b1e02b /plugins/sap.c | |
parent | 7771fa07c899bdddb6386b2a96d11884e9e735af (diff) | |
download | ofono-4f3b9ff36c453824c48af6490b6b706699869e3d.tar.bz2 |
telit: add support to enable SAP client
Diffstat (limited to 'plugins/sap.c')
-rw-r--r-- | plugins/sap.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) |