summaryrefslogtreecommitdiff
path: root/src/location.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/location.c')
-rw-r--r--src/location.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/location.c b/src/location.c
index e7bfdc09..820011f2 100644
--- a/src/location.c
+++ b/src/location.c
@@ -94,6 +94,11 @@ char *connman_location_get_interface(struct connman_location *location)
return connman_service_get_interface(location->service);
}
+struct connman_service *connman_location_get_service(
+ struct connman_location *location)
+{
+ return location->service;
+}
/**
* connman_location_get_data:
* @location: Location structure