mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-05 12:52:37 +01:00
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:
parent
81be5fbae5
commit
59b963a121
@ -4283,11 +4283,6 @@ static void netdev_getlink_cb(int error, uint16_t type, const void *data,
|
|||||||
|
|
||||||
netdev_newlink_notify(ifi, bytes);
|
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.
|
* 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
|
* Otherwise, if we need to set a random mac, do so. If not, just
|
||||||
|
Loading…
Reference in New Issue
Block a user