diff options
Diffstat (limited to 'plugins/gadget.c')
-rw-r--r-- | plugins/gadget.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/gadget.c b/plugins/gadget.c index 94f66487..1b44bbb5 100644 --- a/plugins/gadget.c +++ b/plugins/gadget.c @@ -270,6 +270,8 @@ static void gadget_tech_enable_tethering(struct connman_technology *technology, connman_inet_ifup(index); connman_inet_add_to_bridge(index, bridge); + + gadget_tethering = true; } } @@ -286,6 +288,8 @@ static void gadget_tech_disable_tethering(struct connman_technology *technology, connman_inet_ifdown(index); connman_technology_tethering_notify(technology, false); + + gadget_tethering = false; } } |