]> git.karo-electronics.de Git - linux-beck.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)
commitd2e210aef3a8e7472f91d10a50ecbc91c0a53d62
tree072dceeed6ab669ed0619d4c195d11a01df6b93d
parent459bc732abad5e461da9a06d82dfc0cb1119ef5a
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