]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: make bcast LQ command available for later restore actions
authorReinette Chatre <reinette.chatre@intel.com>
Fri, 23 Apr 2010 17:33:33 +0000 (10:33 -0700)
committerReinette Chatre <reinette.chatre@intel.com>
Mon, 10 May 2010 22:08:51 +0000 (15:08 -0700)
commit3df1f5f5f0208dfed60f4d761ac61747ea371169
tree072dceeed6ab669ed0619d4c195d11a01df6b93d
parentb7656a20590299bf6c415ff7752a0681474ecfe4
iwlwifi: make bcast LQ command available for later restore actions

When adding the broadcast station the link quality command is
generated on demand, sent to device, and disappears. It is thus not
available for later cases when we need to restore stations and need
to send the link quality command afterwards. Now, when first adding the
broadcast station, also generate its link quality command to always be
available for later restoring.

Also fix an issue when adding local stations where the "in progress" state
is never cleared.

Reported-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
drivers/net/wireless/iwlwifi/iwl-core.c
drivers/net/wireless/iwlwifi/iwl-core.h
drivers/net/wireless/iwlwifi/iwl-sta.c
drivers/net/wireless/iwlwifi/iwl-sta.h