]> git.baikalelectronics.ru Git - kernel.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)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 20 Feb 2014 17:16:27 +0000 (19:16 +0200)
commitecd4e7e5436c3323a844b09428ff1c93ee97ea45
tree74aef421697cbedb0e00b1893bee3419144d1863
parentc90360356e1193d2d00a4bf5f303be9525cc6b99
iwlwifi: dvm: clear IWL_STA_UCODE_INPROGRESS when assoc fails

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

Cc: <stable@vger.kernel.org>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/dvm/sta.c