diff options
author | Liad Kaufman <liad.kaufman@intel.com> | 2016-02-14 15:32:58 +0200 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2016-03-17 23:13:48 -0400 |
commit | 7e62b968351c3759db1ad78b4aaaeff72ab2b998 (patch) | |
tree | a971268dd0abc2d4b2782d1eac89db2d89ee1adb /sound/usb/6fire/control.h | |
parent | 60ca0012a0965fe57712eef8361ec99b9c76eb06 (diff) |
iwlwifi: mvm: inc pending frames counter also when txing non-sta
[ Upstream commit fb896c44f88a75843a072cd6961b1615732f7811 ]
Until this patch, when TXing non-sta the pending_frames counter
wasn't increased, but it WAS decreased in
iwl_mvm_rx_tx_cmd_single(), what makes it negative in certain
conditions. This in turn caused much trouble when we need to
remove the station since we won't be waiting forever until
pending_frames gets 0. In certain cases, we were exhausting
the station table even in BSS mode, because we had a lot of
stale stations.
Increase the counter also in iwl_mvm_tx_skb_non_sta() after a
successful TX to avoid this outcome.
CC: <stable@vger.kernel.org> [3.18+]
Signed-off-by: Liad Kaufman <liad.kaufman@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'sound/usb/6fire/control.h')
0 files changed, 0 insertions, 0 deletions