Re: [ 89/94] rtlwifi: fix for race condition when firmware is cached

From: Larry Finger
Date: Mon May 28 2012 - 17:59:43 EST


On 05/28/2012 03:21 PM, Herton Ronaldo Krzesinski wrote:
On Sun, May 27, 2012 at 10:05:52AM +0900, Greg KH wrote:
3.3-stable review patch. If anyone has any objections, please let me know.

------------------

From: Larry Finger<Larry.Finger@xxxxxxxxxxxx>

commit 574e02abaf816b582685805f0c1150ca9f1f18ee upstream.

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.

Shouldn't also 3.3 have another fix after b0302ab was applied to it,
that is commit 0298dc9 ("rtlwifi: rtl8192de: Fix firmware initialization") ?
I noted it is missing, cherry-picks cleanly here on 3.3

Yes, that patch could be applied to 3.3. I chose not to mark it as Cc Stable as that card is not widely available, thus I did not expect the problem to harm many users. On reflection, I think I made the wrong choice.

Greg, could you please apply mainline commit 0298dc9 to 3.3-stable?

Thanks,

Larry

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/