commit 59b963a121d48f6a4246cb4598b1df8ddd5e71ea
parent 81be5fbae542e484419765dc0dcdb7a6121985bf
Author: Andrew Zaborowski <andrew.zaborowski@intel.com>
Date: Wed, 20 Nov 2019 23:23:45 +0100
netdev: Power P2P interfaces up like other interfaces
After all we will want to power these iftypes up on init just like
station, etc.
Diffstat:
1 file changed, 0 insertions(+), 5 deletions(-)
diff --git 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