From e7cb4b680e2e3532db6b205c275384d05aabf3c2 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Thu, 16 Mar 2017 16:50:59 -0500 Subject: [PATCH] netdev: Silence warning This can easily happen if the phy was blacklisted --- src/netdev.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/netdev.c b/src/netdev.c index 4e31b843..50f22307 100644 --- a/src/netdev.c +++ b/src/netdev.c @@ -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");