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)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 18 Apr 2013 11:36:29 +0000 (13:36 +0200)
commit63b77bf489881747c5118476918cc8c29378ee63
treedd5326ef97e0e40425862a8ec348fe98252da4a5
parentd557894106f71cc23c9d053876d0c367c285950f
iwlwifi: dvm: don't send zeroed LQ cmd

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.

Cc: stable@vger.kernel.org
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>
drivers/net/wireless/iwlwifi/dvm/sta.c