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

wiphy: MLME warning message text incorrect

MLME notify function prints error if wiphy or netdev is missing.
The error text in this case talks about scan notification instead
of more proper MLME notification.
This commit is contained in:
Jukka Rissanen 2015-01-28 16:17:12 +02:00 committed by Denis Kenzior
parent bd6189aef0
commit 9e655106fa

View File

@ -1148,12 +1148,12 @@ static void wiphy_mlme_notify(struct l_genl_msg *msg, void *user_data)
}
if (!wiphy) {
l_warn("Scan notification is missing wiphy attribute");
l_warn("MLME notification is missing wiphy attribute");
return;
}
if (!netdev) {
l_warn("Scan notification is missing interface attribute");
l_warn("MLME notification is missing interface attribute");
return;
}