From: Johannes Berg Date: Tue, 7 Jul 2009 21:41:27 +0000 (+0200) Subject: cfg80211: fix race in giwrate X-Git-Tag: v2.6.32-rc1~703^2~544^2~121 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a71d62dbf3f0523b7a456333196cb26cf783fe92;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed