From 4fbca244ea32abd34cf7a5523da3e7e21abb2b6d Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Wed, 29 Jul 2009 14:26:45 -0500 Subject: Make plugins use ofono_modem_get_path --- src/modem.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') diff --git a/src/modem.c b/src/modem.c index bcb3a7d3..904636fc 100644 --- a/src/modem.c +++ b/src/modem.c @@ -93,6 +93,14 @@ void *ofono_modem_userdata(struct ofono_modem *modem) return NULL; } +const char *ofono_modem_get_path(struct ofono_modem *modem) +{ + if (modem) + return modem->path; + + return NULL; +} + static void modem_free(gpointer data) { struct ofono_modem *modem = data; -- cgit v1.2.3