[PATCH 0/2] staging: fix USB altsetting bugs

From: Johan Hovold
Date: Tue Dec 10 2019 - 06:48:05 EST


We had quite a few drivers using the first alternate setting instead of
the current one when doing descriptor sanity checks. This is mostly an
issue on kernels with panic_on_warn set due to a WARN() in
usb_submit_urb(), but since we've started backporting such fixes (e.g.
as reported by syzbot), I've marked these for stable as well.

Johan


Johan Hovold (2):
staging: rtl8188eu: fix interface sanity check
staging: rtl8712: fix interface sanity check

drivers/staging/rtl8188eu/os_dep/usb_intf.c | 2 +-
drivers/staging/rtl8712/usb_intf.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

--
2.24.0