summaryrefslogtreecommitdiff
path: root/plugins/wifi.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/wifi.c')
-rw-r--r--plugins/wifi.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/plugins/wifi.c b/plugins/wifi.c
index c50945b8..bbcb1df3 100644
--- a/plugins/wifi.c
+++ b/plugins/wifi.c
@@ -1909,6 +1909,17 @@ static void network_changed(GSupplicantNetwork *network, const char *property)
#endif
}
+static void add_station(const char *mac)
+{
+ connman_technology_tethering_add_station(CONNMAN_SERVICE_TYPE_WIFI,
+ mac);
+}
+
+static void remove_station(const char *mac)
+{
+ connman_technology_tethering_remove_station(mac);
+}
+
static void debug(const char *str)
{
if (getenv("CONNMAN_SUPPLICANT_DEBUG"))
@@ -1926,6 +1937,8 @@ static const GSupplicantCallbacks callbacks = {
.network_added = network_added,
.network_removed = network_removed,
.network_changed = network_changed,
+ .add_station = add_station,
+ .remove_station = remove_station,
.debug = debug,
};