Re: [PATCH] mac80211 : fix a race with update_tkip_key

gregor kowski
2009-12-07T21:05:58Z

On 11/16/09, Johannes Berg <johannes@sipsolutions.net> wrote:
> On Mon, 2009-11-16 at 22:53 +0100, gregor kowski wrote:
>> The mac80211 tkip code won't call update_tkip_key, if rx packets
>> are received without KEY_FLAG_UPLOADED_TO_HARDWARE. This can happen on
>> first packet because the hardware key stuff is called asynchronously with
>> todo workqueue.
>
>> - ctx->initialized = 1;
>> + ctx->initialized = TKIP_STATE_PHASE1_DONE;
>
> Now you just need to rename the variable holding it to "state" too...
Done

Sorry for the delay

Gregor