diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-07-07 23:41:27 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-07-24 15:05:06 -0400 |
commit | a71d62dbf3f0523b7a456333196cb26cf783fe92 (patch) | |
tree | 5464eb108c6e9a2849cb81c81473713ce8c84d12 /net/wireless/sme.c | |
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>
Diffstat (limited to 'net/wireless/sme.c')
0 files changed, 0 insertions, 0 deletions