commit d4e521027b098999c410643c85f9d8f2f97b8186
parent 5b8f052524ff092ebe111303f716314fa62d8462
Author: James Prestwood <james.prestwood@linux.intel.com>
Date: Tue, 3 Jul 2018 14:11:50 -0700
device: add debug prints for mode switching
Its useful to know when the device has switched modes
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/device.c b/src/device.c
@@ -2065,6 +2065,8 @@ static struct l_dbus_message *device_set_mode_ap(struct device *device,
device->state != DEVICE_STATE_AUTOCONNECT)
return dbus_error_busy(message);
+ l_debug("");
+
periodic_scan_stop(device);
/* Drop all state we can related to client mode */
@@ -2106,6 +2108,8 @@ static struct l_dbus_message *device_set_mode_sta(struct device *device,
ap_remove_interface(device);
+ l_debug("");
+
return NULL;
}