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)
committerJiri Slaby <jslaby@suse.cz>
Sat, 22 Mar 2014 21:01:50 +0000 (22:01 +0100)
commitfb625a814af36cb87fd382aee3fbf51da872c5cd
tree3c269d224b1d636f673c380b697ec5915152ec17
parentee6ec648ab09cb3f833c17de1069cc066208dd8a
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: Jiri Slaby <jslaby@suse.cz>
drivers/net/wireless/iwlwifi/dvm/sta.c