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> |
||
---|---|---|
.. | ||
dvm | ||
mvm | ||
pcie | ||
iwl-1000.c | ||
iwl-2000.c | ||
iwl-5000.c | ||
iwl-6000.c | ||
iwl-7000.c | ||
iwl-8000.c | ||
iwl-9000.c | ||
iwl-agn-hw.h | ||
iwl-config.h | ||
iwl-csr.h | ||
iwl-debug.c | ||
iwl-debug.h | ||
iwl-devtrace-data.h | ||
iwl-devtrace-io.h | ||
iwl-devtrace-iwlwifi.h | ||
iwl-devtrace-msg.h | ||
iwl-devtrace-ucode.h | ||
iwl-devtrace.c | ||
iwl-devtrace.h | ||
iwl-drv.c | ||
iwl-drv.h | ||
iwl-eeprom-parse.c | ||
iwl-eeprom-parse.h | ||
iwl-eeprom-read.c | ||
iwl-eeprom-read.h | ||
iwl-fh.h | ||
iwl-fw-error-dump.h | ||
iwl-fw-file.h | ||
iwl-fw.h | ||
iwl-io.c | ||
iwl-io.h | ||
iwl-modparams.h | ||
iwl-notif-wait.c | ||
iwl-notif-wait.h | ||
iwl-nvm-parse.c | ||
iwl-nvm-parse.h | ||
iwl-op-mode.h | ||
iwl-phy-db.c | ||
iwl-phy-db.h | ||
iwl-prph.h | ||
iwl-scd.h | ||
iwl-trans.c | ||
iwl-trans.h | ||
Kconfig | ||
Makefile |