]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iwlwifi: dvm: clear IWL_STA_UCODE_INPROGRESS when assoc fails
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 18 Feb 2014 08:30:18 +0000 (10:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Mar 2014 04:44:03 +0000 (21:44 -0700)
commit3cc6e41b3522982d2c230b654d3251f0e9d6d756
tree82b379879c5261a0d1fc094c5ae891615a9cd5c3
parent0da54ae17dd4ed21172b1dd8777bd2fa66e48132
iwlwifi: dvm: clear IWL_STA_UCODE_INPROGRESS when assoc fails

commit ec6f678c74dbdb06a6a775bbb00f1d26c17c404b upstream.

We set IWL_STA_UCODE_INPROGRESS flag when we add a station
and clear it when we send the LQ command for it. But the LQ
command is sent only when the association succeeds.
If the association doesn't succeed, we would leave this flag
set and that wouldn't indicate the station entry as vacant.

This probably fixes:
https://bugzilla.redhat.com/show_bug.cgi?id=1065663

Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/iwlwifi/dvm/sta.c