mirror_ubuntu-kernels/drivers/net/wireless/intel/iwlegacy
Stanislaw Gruszka 4832bb371c 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
2021-01-25 16:43:27 +02:00
..
3945-debug.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 183 2019-05-30 11:29:20 -07:00
3945-mac.c iwlegacy: 3945-mac: Remove all non-conformant kernel-doc headers 2020-09-01 16:05:00 +03:00
3945-rs.c iwlegacy: 3945-rs: Remove all non-conformant kernel-doc headers 2020-09-01 16:05:02 +03:00
3945.c iwlegacy: 3945: Remove all non-conformant kernel-doc headers 2020-09-01 16:05:03 +03:00
3945.h wireless-drivers-next patches for 5.3 2019-06-26 10:12:17 -07:00
4965-calib.c iwlegacy: 4965-calib: Demote seemingly accidental kernel-doc header 2020-09-01 12:22:42 +03:00
4965-debug.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 183 2019-05-30 11:29:20 -07:00
4965-mac.c iwl4965: do not process non-QOS frames on txq->sched_retry path 2021-01-25 16:43:27 +02:00
4965-rs.c iwlegacy: 4965-rs: Demote non kernel-doc headers to standard comment blocks 2020-09-01 12:22:41 +03:00
4965.c iwlegacy: 4965: Demote a bunch of nonconformant kernel-doc headers 2020-09-01 12:06:16 +03:00
4965.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 183 2019-05-30 11:29:20 -07:00
commands.h iwlegacy: Replace zero-length array with flexible-array 2020-05-12 11:54:47 +03:00
common.c iwlegacy: Use fallthrough pseudo-keyword 2020-08-27 16:07:55 +03:00
common.h net: ipw2x00,iwlegacy,iwlwifi: Remove in_interrupt() from debug macros 2020-09-29 14:02:55 -07:00
csr.h
debug.c iwlegacy: debug: Demote seemingly unintentional kerneldoc header 2020-09-01 12:02:40 +03:00
iwl-spectrum.h iwlegacy: Replace zero-length array with flexible-array 2020-05-12 11:54:47 +03:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
prph.h