linux_dsm_epyc7002/drivers/net/wireless/rt2x00
Richard Genoud 2ad69ac597 rt2x00: Endless loop on hub port power down
I've met an endless (or at least very long) loop if I power down the usb
port on witch a usb wifi key is plugged.
(Ok, it's not very smart to power down a usb port when a usb key is in
used... but still, I think that should not lead to an endless loop).

I have a lot of:
ieee80211 phy1: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0438 with error -71

(-71==-EPROTO)

How to reproduce:
- plug an usb wifi key
- ip link set wlan0 up
- hub-ctrl -b usb_bus -d usb_device -P usb_port -p 0

hub-ctrl source: https://github.com/codazoda/hub-ctrl.c/blob/master/hub-ctrl.c

The following patch prevents the endless loop, but I'm really not sure
that The Right Way To Do It (R)

Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2014-05-22 14:04:36 -04:00
..
Kconfig rt2x00: rt2800pci: move SoC specific code into a separate module 2013-10-18 14:07:00 -04:00
Makefile rt2x00: rt2800pci: move SoC specific code into a separate module 2013-10-18 14:07:00 -04:00
rt2x00.h mac80211: add vif to flush call 2014-04-09 10:55:29 +02:00
rt2x00config.c rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2x00crypto.c rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2x00debug.c net: Replace min macro with min_t 2014-03-03 15:35:54 -05:00
rt2x00debug.h rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2x00dev.c rt2x00: use ether_addr_equal_64bits 2014-01-03 15:36:59 -05:00
rt2x00dump.h rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2x00firmware.c rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2x00leds.c rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2x00leds.h rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2x00lib.h rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2x00link.c rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2x00mac.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2014-05-13 15:27:44 -04:00
rt2x00mmio.c rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2x00mmio.h rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2x00pci.c rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2x00pci.h rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2x00queue.c rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2x00queue.h rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2x00reg.h rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2x00soc.c rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2x00soc.h rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2x00usb.c rt2x00: Endless loop on hub port power down 2014-05-22 14:04:36 -04:00
rt2x00usb.h rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt61pci.c rt2x00: restore original beaconing state 2014-04-22 15:06:31 -04:00
rt61pci.h rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt73usb.c rt2x00: restore original beaconing state 2014-04-22 15:06:31 -04:00
rt73usb.h rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2400pci.c wireless: delete non-required instances of include <linux/init.h> 2014-01-03 15:37:01 -05:00
rt2400pci.h rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2500pci.c rt2500: disable PS by default 2014-02-04 15:30:07 -05:00
rt2500pci.h rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2500usb.c rt2500: disable PS by default 2014-02-04 15:30:07 -05:00
rt2500usb.h rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2800.h rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2800lib.c rt2x00: restore original beaconing state 2014-04-22 15:06:31 -04:00
rt2800lib.h rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2800mmio.c rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2800mmio.h rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2800pci.c rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2800pci.h rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2800soc.c rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00
rt2800usb.c wireless/rt2x00: don't use PREPARE_WORK in rt2800usb.c 2014-02-24 15:38:36 -05:00
rt2800usb.h rt2x00: Fix FSF address in file headers 2013-12-11 10:56:19 -05:00