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... johannes