On Mon, Oct 29, 2012 at 11:12 AM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > From: Johannes Berg <johannes.berg@xxxxxxxxx> > > When userspace asks to deauthenticate and we're just > authenticated (or still authenticating) send a deauth > frame instead of deleting the auth request. > why send a deauth if we are not authenticated yet? > mutex_lock(&sdata->local->mtx); > ieee80211_recalc_idle(sdata->local); > mutex_unlock(&sdata->local->mtx); > > + out: > + if (sent_frame) > + __cfg80211_send_deauth(sdata->dev, frame_buf, > + IEEE80211_DEAUTH_FRAME_LEN); > + shouldn't the "out" label be before recalcing the idle state? Eliad. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html