Ignore:
Timestamp:
Apr 14, 2017, 9:41:36 PM (6 weeks ago)
Author:
brainslayer
Message:

kernel update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-4.9/net/wireless/sysfs.c

    r31574 r31859  
    131131        cfg80211_bss_age(rdev, get_seconds() - rdev->suspend_at);
    132132
    133         if (rdev->ops->resume) {
    134                 rtnl_lock();
    135                 if (rdev->wiphy.registered)
    136                         ret = rdev_resume(rdev);
    137                 rtnl_unlock();
    138         }
     133        rtnl_lock();
     134        if (rdev->wiphy.registered && rdev->ops->resume)
     135                ret = rdev_resume(rdev);
     136        rtnl_unlock();
    139137
    140138        return ret;
Note: See TracChangeset for help on using the changeset viewer.