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:
parent
cacd0d83f4
commit
e7cb4b680e
@ -2859,10 +2859,8 @@ static void netdev_create_from_genl(struct l_genl_msg *msg)
|
||||
}
|
||||
}
|
||||
|
||||
if (!wiphy) {
|
||||
l_warn("Missing wiphy attribute or wiphy not found");
|
||||
if (!wiphy)
|
||||
return;
|
||||
}
|
||||
|
||||
if (!iftype) {
|
||||
l_warn("Missing iftype attribute");
|
||||
|
Loading…
Reference in New Issue
Block a user