diff options
author | Sara Sharon <sara.sharon@intel.com> | 2016-12-07 13:04:37 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-14 12:00:17 (GMT) |
commit | 4d6f2ac95bc55bd78c415006a67c03e787d79989 (patch) | |
tree | b1e5b98d5c7e896fa834bc0767d620acfefd191f /sound | |
parent | 48aa5ec292f3eba8f22a5b4d3a8eee123e7680dc (diff) | |
download | linux-4d6f2ac95bc55bd78c415006a67c03e787d79989.tar.xz |
iwlwifi: mvm: fix pending frame counter calculation
commit 94c3e614df2117626fccfac8f821c66e30556384 upstream.
In DQA mode the check whether to decrement the pending frames
counter relies on the tid status and not on the txq id.
This may result in an inconsistent state of the pending frames
counter in case frame is queued on a non aggregation queue but
with this TID, and will be followed by a failure to remove the
station and later on SYSASSERT 0x3421 when trying to remove the
MAC.
Such frames are for example bar and qos NDPs.
Fix it by aligning the condition of incrementing the counter
with the condition of decrementing it - rely on TID state for
DQA mode.
Also, avoid internal error like this affecting station removal
for DQA mode - since we can know for sure it is an internal
error.
Fixes: cf961e16620f ("iwlwifi: mvm: support dqa-mode agg on non-shared queue")
Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions