diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2010-11-13 07:40:43 +0900 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-11-13 07:40:43 +0900 |
commit | ffd2b546e5eea2b361791bbe9062f1baf8530c35 (patch) | |
tree | f612eb719c20ed9f46cd62569110f68601be0cda /plugins | |
parent | 1e302beda2c393b0a19a1a528a742ddef50a8a0b (diff) | |
download | connman-ffd2b546e5eea2b361791bbe9062f1baf8530c35.tar.gz connman-ffd2b546e5eea2b361791bbe9062f1baf8530c35.tar.bz2 connman-ffd2b546e5eea2b361791bbe9062f1baf8530c35.zip |
Use a proper technology callback to report Tethering status
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/bluetooth.c | 5 |
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); } |