diff options
Diffstat (limited to 'net/wireless/sysfs.c')
-rw-r--r-- | net/wireless/sysfs.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/wireless/sysfs.c b/net/wireless/sysfs.c index 1f6f01e2dc4c..238ee49b3868 100644 --- a/net/wireless/sysfs.c +++ b/net/wireless/sysfs.c | |||
@@ -106,9 +106,7 @@ static int wiphy_resume(struct device *dev) | |||
106 | int ret = 0; | 106 | int ret = 0; |
107 | 107 | ||
108 | /* Age scan results with time spent in suspend */ | 108 | /* Age scan results with time spent in suspend */ |
109 | spin_lock_bh(&rdev->bss_lock); | ||
110 | cfg80211_bss_age(rdev, get_seconds() - rdev->suspend_at); | 109 | cfg80211_bss_age(rdev, get_seconds() - rdev->suspend_at); |
111 | spin_unlock_bh(&rdev->bss_lock); | ||
112 | 110 | ||
113 | if (rdev->ops->resume) { | 111 | if (rdev->ops->resume) { |
114 | rtnl_lock(); | 112 | rtnl_lock(); |