On Thu, 2013-02-21 at 11:29 +0100, Stanislaw Gruszka wrote: > --- a/net/wireless/sysfs.c > +++ b/net/wireless/sysfs.c > @@ -86,16 +86,21 @@ static int wiphy_uevent(struct device *dev, struct kobj_uevent_env *env) > static int wiphy_suspend(struct device *dev, pm_message_t state) > { > struct cfg80211_registered_device *rdev = dev_to_rdev(dev); > + struct wireless_dev *wdev; > int ret = 0; > > rdev->suspend_at = get_seconds(); > > - if (rdev->ops->suspend) { > - rtnl_lock(); > - if (rdev->wiphy.registered) > + rtnl_lock(); > + if (rdev->wiphy.registered) { > + list_for_each_entry_rcu(wdev, &rdev->wdev_list, list) > + cfg80211_leave(rdev, wdev); > + > + if (rdev->ops->suspend) > ret = rdev_suspend(rdev); I think this would break WoWLAN? johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html