From: Larry Finger Date: Fri, 4 May 2012 13:27:43 +0000 (-0500) Subject: rtlwifi: fix for race condition when firmware is cached X-Git-Tag: v3.4~26^2~2^2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=574e02abaf816b582685805f0c1150ca9f1f18ee;p=pandora-kernel.git rtlwifi: fix for race condition when firmware is cached In commit b0302ab, the rtlwifi family of drivers was converted to use asynchronous firmware loading. Unfortumately, the implementation was racy, and the ieee80211 routines could be started before rtl_init_core() was called to setup the data. This patch fixes the bug noted in https://bugzilla.kernel.org/show_bug.cgi?id=43187. Reported-by: Joshua Roys Tested-by: Neptune Ning Signed-off-by: Larry Finger Cc: Stable [3.3] Signed-off-by: John W. Linville --- Reading git-diff-tree failed