3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-10-06 03:18:46 +02:00

device: Emit property changed signals for Name

This commit is contained in:
Andrew Zaborowski 2016-07-14 02:38:06 +02:00 committed by Denis Kenzior
parent 940f4fce46
commit fc0fd49cbd

View File

@ -1079,7 +1079,9 @@ static void device_netdev_notify(struct netdev *netdev,
l_dbus_property_changed(dbus, device_get_path(device), l_dbus_property_changed(dbus, device_get_path(device),
IWD_DEVICE_INTERFACE, "Powered"); IWD_DEVICE_INTERFACE, "Powered");
} } else if (event == NETDEV_EVENT_NAME_CHANGE)
l_dbus_property_changed(dbus, device_get_path(device),
IWD_DEVICE_INTERFACE, "Name");
} }
struct device *device_create(struct wiphy *wiphy, struct netdev *netdev) struct device *device_create(struct wiphy *wiphy, struct netdev *netdev)