OSDN Git Service

iwlwifi: mvm: reset seq num after restart
authorLiad Kaufman <liad.kaufman@intel.com>
Tue, 17 Oct 2017 13:26:00 +0000 (16:26 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 3 Nov 2017 09:56:08 +0000 (11:56 +0200)
commit5d39051a328c0508b0fb0247227197059edd2da9
treecd49b9746af217b737977f6406ffacb8a4815fbe
parent0ec9257b0a2ceb4eeec552684b390b06705bbad7
iwlwifi: mvm: reset seq num after restart

After a FW reset on A000 NICs, the driver doesn't
set the seq number when re-allocating the queues.
This in turn leads to a mismatch between the seq
number the driver thinks each frame has, and the
actual seq num given by the HW.

This especially causes issues with aggregations,
since the driver could be waiting to start an
aggregation and queue traffic from the mac80211
until then, when actually it shouldn't be waiting.

Fixes: 310181ec34e2 ("iwlwifi: move to TVQM mode")
Signed-off-by: Liad Kaufman <liad.kaufman@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/sta.c