commit | a71d62dbf3f0523b7a456333196cb26cf783fe92 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes@sipsolutions.net> | Tue Jul 07 23:41:27 2009 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Fri Jul 24 15:05:06 2009 -0400 |
tree | 5464eb108c6e9a2849cb81c81473713ce8c84d12 | |
parent | e0f114e82e3781087a0ad0e92c94ff0d55012c1a [diff] |
cfg80211: fix race in giwrate cfg80211_wext_giwrate doesn't lock the wdev, so it cannot access current_bss race-free. Also, there's little point in trying to ask the driver for an AP that it never told us about, so avoid that case. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>