linux_dsm_epyc7002/drivers/net/wireless/ralink/rt2x00
Stanislaw Gruszka 811a399151 rt2x00: check against flushing empty queue
We have check if queue is not empty when start flushing queues on
by mac80211 callback, but we also can start flushing queues by internal
driver calls. So move check into rt2x00queue_flush_queue() to assure
we do not flush empty queue anytime.

Additionally add warning if we start to kick empty queue as in such
situation we set wrong index in the HW queue, what can confuse the HW
and have various negative consequences.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2018-05-04 15:34:20 +03:00
..
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rt2x00.h rt2x00: call sta_add/remove directly in rt2800 2018-05-04 15:34:19 +03:00
rt2x00config.c
rt2x00crypto.c
rt2x00debug.c wireless: Use octal not symbolic permissions 2018-03-27 11:01:13 +03:00
rt2x00debug.h
rt2x00dev.c
rt2x00dump.h rt2x00: use monotonic timestamps for frame dump 2017-11-10 04:33:05 +02:00
rt2x00firmware.c
rt2x00leds.c
rt2x00leds.h
rt2x00lib.h
rt2x00link.c
rt2x00mac.c rt2x00: check against flushing empty queue 2018-05-04 15:34:20 +03:00
rt2x00mmio.c
rt2x00mmio.h
rt2x00pci.c
rt2x00pci.h
rt2x00queue.c rt2x00: check against flushing empty queue 2018-05-04 15:34:20 +03:00
rt2x00queue.h
rt2x00reg.h
rt2x00soc.c
rt2x00soc.h
rt2x00usb.c rt2x00usb: mark device removed when get ENOENT usb error 2017-11-10 04:32:07 +02:00
rt2x00usb.h
rt61pci.c wireless: Use octal not symbolic permissions 2018-03-27 11:01:13 +03:00
rt61pci.h
rt73usb.c wireless: Use octal not symbolic permissions 2018-03-27 11:01:13 +03:00
rt73usb.h
rt2400pci.c
rt2400pci.h
rt2500pci.c
rt2500pci.h
rt2500usb.c wireless: Use octal not symbolic permissions 2018-03-27 11:01:13 +03:00
rt2500usb.h
rt2800.h rt2x00: fix spelling mistake in various macros, UKNOWN -> UNKNOWN 2018-04-30 13:34:51 +03:00
rt2800lib.c rt2x00: call sta_add/remove directly in rt2800 2018-05-04 15:34:19 +03:00
rt2800lib.h rt2x00: call sta_add/remove directly in rt2800 2018-05-04 15:34:19 +03:00
rt2800mmio.c rt2x00: check against flushing empty queue 2018-05-04 15:34:20 +03:00
rt2800mmio.h
rt2800pci.c rt2x00: call sta_add/remove directly in rt2800 2018-05-04 15:34:19 +03:00
rt2800pci.h
rt2800soc.c rt2x00: call sta_add/remove directly in rt2800 2018-05-04 15:34:19 +03:00
rt2800usb.c rt2x00: call sta_add/remove directly in rt2800 2018-05-04 15:34:19 +03:00
rt2800usb.h