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
1 changed files with 3 additions and 1 deletions

View File

@ -1079,7 +1079,9 @@ static void device_netdev_notify(struct netdev *netdev,
l_dbus_property_changed(dbus, device_get_path(device),
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)