From 59b963a121d48f6a4246cb4598b1df8ddd5e71ea Mon Sep 17 00:00:00 2001 From: Andrew Zaborowski Date: Wed, 20 Nov 2019 23:23:45 +0100 Subject: [PATCH] netdev: Power P2P interfaces up like other interfaces After all we will want to power these iftypes up on init just like station, etc. --- src/netdev.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/netdev.c b/src/netdev.c index 2d12caea..af655c84 100644 --- a/src/netdev.c +++ b/src/netdev.c @@ -4283,11 +4283,6 @@ static void netdev_getlink_cb(int error, uint16_t type, const void *data, netdev_newlink_notify(ifi, bytes); - /* Don't do anything automatically for P2P interfaces */ - if (netdev->type == NL80211_IFTYPE_P2P_CLIENT || - netdev->type == NL80211_IFTYPE_P2P_GO) - return; - /* * If the interface is UP, reset it to ensure a clean state. * Otherwise, if we need to set a random mac, do so. If not, just