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

netdev: Don't warn on genl messages not matching a netdev

This is going to be a normal situation when we start using interfaces
without an ifindex.
This commit is contained in:
Andrew Zaborowski 2019-05-13 15:44:29 +02:00 committed by Denis Kenzior
parent 925095f835
commit b86af171f0

View File

@ -3637,10 +3637,8 @@ static void netdev_unicast_notify(struct l_genl_msg *msg, void *user_data)
}
}
if (!netdev) {
l_warn("Unicast notification is missing ifindex attribute");
if (!netdev)
return;
}
switch (cmd) {
case NL80211_CMD_FRAME: