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 /src/tethering.c | |
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 'src/tethering.c')
-rw-r--r-- | src/tethering.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/tethering.c b/src/tethering.c index 154efe9a..04f34094 100644 --- a/src/tethering.c +++ b/src/tethering.c @@ -31,8 +31,6 @@ #include "connman.h" -#include <connman/tethering.h> - #define BRIDGE_NAME "tether" static connman_bool_t tethering_status = FALSE; @@ -128,7 +126,7 @@ static void disable_nat(const char *interface) /* TODO: Flush nat POSTROUTING chain */ } -void connman_tethering_enabled(void) +void __connman_tethering_set_enabled(void) { if (tethering_status == FALSE) return; @@ -143,7 +141,7 @@ void connman_tethering_enabled(void) } } -void connman_tethering_disabled(void) +void __connman_tethering_set_disabled(void) { if (tethering_status == FALSE) return; |