|
@@ -922,7 +922,8 @@ static int cfg80211_netdev_notifier_call(struct notifier_block * nb,
|
|
|
* Configure power management to the driver here so that its
|
|
|
* correctly set also after interface type changes etc.
|
|
|
*/
|
|
|
- if (wdev->iftype == NL80211_IFTYPE_STATION &&
|
|
|
+ if ((wdev->iftype == NL80211_IFTYPE_STATION ||
|
|
|
+ wdev->iftype == NL80211_IFTYPE_P2P_CLIENT) &&
|
|
|
rdev->ops->set_power_mgmt)
|
|
|
if (rdev->ops->set_power_mgmt(wdev->wiphy, dev,
|
|
|
wdev->ps,
|