netdev: Power P2P interfaces up like other interfaces

After all we will want to power these iftypes up on init just like
station, etc.
This commit is contained in:
Andrew Zaborowski 2019-11-20 23:23:45 +01:00 committed by Denis Kenzior
parent 81be5fbae5
commit 59b963a121
1 changed files with 0 additions and 5 deletions

View File

@ -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