3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-18 10:19:24 +01:00

netdev: Silence warning

This can easily happen if the phy was blacklisted
This commit is contained in:
Denis Kenzior 2017-03-16 16:50:59 -05:00
parent cacd0d83f4
commit e7cb4b680e

View File

@ -2859,10 +2859,8 @@ static void netdev_create_from_genl(struct l_genl_msg *msg)
} }
} }
if (!wiphy) { if (!wiphy)
l_warn("Missing wiphy attribute or wiphy not found");
return; return;
}
if (!iftype) { if (!iftype) {
l_warn("Missing iftype attribute"); l_warn("Missing iftype attribute");