3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 04:32:37 +01:00

wired: Issue all property changed signals when link goes down

This commit is contained in:
Marcel Holtmann 2018-09-21 22:51:45 +02:00 committed by Denis Kenzior
parent 4b853f115b
commit 292f9dd3f6

View File

@ -491,6 +491,12 @@ static void newlink_notify(const struct ifinfomsg *ifi, int bytes)
}
if (lower_up != dev->lower_up) {
if (!lower_up) {
dev->auth_done = false;
l_dbus_property_changed(dbus_app_get(), dev->path,
ADAPTER_INTERFACE, PROP_AUTHENTICATED);
}
dev->lower_up = lower_up;
l_dbus_property_changed(dbus_app_get(), dev->path,
ADAPTER_INTERFACE, PROP_CONNECTED);