3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-17 17:39:28 +01:00

device: Update State when Mode is changed

This commit is contained in:
Denis Kenzior 2018-08-19 22:41:07 -05:00
parent 5a6c19988c
commit 99b5c67c88

View File

@ -2455,6 +2455,10 @@ static void set_mode_cb(struct netdev *netdev, int result, void *user_data)
l_dbus_property_changed(cb_data->dbus, device_get_path(cb_data->device),
IWD_DEVICE_INTERFACE, "Mode");
/* TODO: Special case, remove when Device/Station split is made */
l_dbus_property_changed(cb_data->dbus, device_get_path(cb_data->device),
IWD_DEVICE_INTERFACE, "State");
}
static struct l_dbus_message *device_property_set_mode(struct l_dbus *dbus,