Files
linux/drivers/net
Liad Kaufman 8c904a4498 iwlwifi: mvm: inc pending frames counter also when txing non-sta
commit fb896c44f8 upstream.

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.

Signed-off-by: Liad Kaufman <liad.kaufman@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-03-16 08:42:59 -07:00
..
2016-03-03 15:07:04 -08:00
2015-11-15 17:09:23 -05:00
2015-11-17 14:39:29 -05:00
2016-03-03 15:07:06 -08:00
2015-10-21 19:36:10 -07:00
2015-12-23 22:28:29 -05:00
2015-10-13 04:55:07 -07:00