mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 13:02:44 +01:00
device: Update State when Mode is changed
This commit is contained in:
parent
5a6c19988c
commit
99b5c67c88
@ -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),
|
l_dbus_property_changed(cb_data->dbus, device_get_path(cb_data->device),
|
||||||
IWD_DEVICE_INTERFACE, "Mode");
|
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,
|
static struct l_dbus_message *device_property_set_mode(struct l_dbus *dbus,
|
||||||
|
Loading…
Reference in New Issue
Block a user