summaryrefslogtreecommitdiff
path: root/plugins/bluetooth.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-11-13 07:40:43 +0900
committerMarcel Holtmann <marcel@holtmann.org>2010-11-13 07:40:43 +0900
commitffd2b546e5eea2b361791bbe9062f1baf8530c35 (patch)
treef612eb719c20ed9f46cd62569110f68601be0cda /plugins/bluetooth.c
parent1e302beda2c393b0a19a1a528a742ddef50a8a0b (diff)
downloadconnman-ffd2b546e5eea2b361791bbe9062f1baf8530c35.tar.gz
connman-ffd2b546e5eea2b361791bbe9062f1baf8530c35.tar.bz2
connman-ffd2b546e5eea2b361791bbe9062f1baf8530c35.zip
Use a proper technology callback to report Tethering status
Diffstat (limited to 'plugins/bluetooth.c')
-rw-r--r--plugins/bluetooth.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c
index 984a647f..03a01dc6 100644
--- a/plugins/bluetooth.c
+++ b/plugins/bluetooth.c
@@ -36,7 +36,6 @@
#include <connman/technology.h>
#include <connman/device.h>
#include <connman/inet.h>
-#include <connman/tethering.h>
#include <connman/dbus.h>
#include <connman/log.h>
@@ -969,7 +968,7 @@ static void server_register_reply(DBusPendingCall *call, void *user_data)
dbus_message_unref(reply);
dbus_pending_call_unref(call);
- connman_tethering_enabled();
+ connman_technology_tethering_notify(NULL, TRUE);
}
static void server_unregister_reply(DBusPendingCall *call, void *user_data)
@@ -994,7 +993,7 @@ static void server_unregister_reply(DBusPendingCall *call, void *user_data)
dbus_message_unref(reply);
dbus_pending_call_unref(call);
- connman_tethering_disabled();
+ connman_technology_tethering_notify(NULL, FALSE);
}