diff options
author | Stanislaw Gruszka <stf_xl@wp.pl> | 2021-01-19 13:06:21 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2021-01-25 17:43:27 +0300 |
commit | 4832bb371c4175ffb506a96accbb08ef2b2466e7 (patch) | |
tree | 89c5ef40af743ddbfb18e8afca9eab2ea5bde451 /drivers/net/wireless/intel/iwlwifi/mvm/tx.c | |
parent | f43fcaef87a3ec6e234a20c8606342f33a8bd61d (diff) | |
download | linux-4832bb371c4175ffb506a96accbb08ef2b2466e7.tar.xz |
iwl4965: do not process non-QOS frames on txq->sched_retry path
We have already WARN_ON(!qc) for non-QOS frame on txq->sched_retry path,
but we continue to process, what makes no sense since tid is not
initialized. Non QOS frame should never happen when aggregation
is enabled on queue, so do not process that.
Patch should fix smatch warning:
drivers/net/wireless/intel/iwlegacy/4965-mac.c:2822 il4965_hdl_tx() error: uninitialized symbol 'tid'.
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210119100621.439134-1-stf_xl@wp.pl
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/tx.c')
0 files changed, 0 insertions, 0 deletions