]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
iwlwifi: dvm: don't send zeroed LQ cmd
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 17 Apr 2013 06:47:00 +0000 (09:47 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 May 2013 03:08:17 +0000 (20:08 -0700)
commit6a30b99e412dbbaaca684efb88d4142d1b2309fa
tree0181a824fc7c6324e62b9135325bc2c9c98a3b58
parent3b878e81dd0be24d6b0851266920c03519ad728b
iwlwifi: dvm: don't send zeroed LQ cmd

commit 63b77bf489881747c5118476918cc8c29378ee63 upstream.

When the stations are being restored because of unassoc
RXON, the LQ cmd may not have been initialized because it
is initialized only after association.
Sending zeroed LQ_CMD makes the fw unhappy: it raises
SYSASSERT_2078.

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