diff options
author | John W. Linville <linville@tuxdriver.com> | 2013-02-18 13:47:13 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-02-18 13:47:13 -0500 |
commit | 98d5fac2330779e6eea6431a90b44c7476260dcc (patch) | |
tree | 99870656d835fc6c12093bc67517956cc7b3d6ec /net/wireless/sysfs.c | |
parent | 4153577a8d318ae02b3791341e10e78416de402f (diff) | |
parent | 9e97d14b4923da524d202f2e005d5d30b70db9d6 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem
Conflicts:
drivers/net/wireless/iwlwifi/dvm/tx.c
drivers/net/wireless/ti/wlcore/sdio.c
drivers/net/wireless/ti/wlcore/spi.c
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(); |