mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-11 02:02:33 +01:00
device: Emit property changed signals for Name
This commit is contained in:
parent
940f4fce46
commit
fc0fd49cbd
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user