summaryrefslogtreecommitdiffstats
path: root/arch/arc
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2019-12-10 12:44:26 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-02-05 14:18:04 +0000
commit108b4537f1a450a4b979857f3ad5113e485917ba (patch)
tree434b309a3defee90fca494e76dbe3e0f78fc3d6a /arch/arc
parent419d0f93ac3c043c73b6387090cb3bee416e53fe (diff)
downloadlinux-stable-108b4537f1a450a4b979857f3ad5113e485917ba.tar.gz
linux-stable-108b4537f1a450a4b979857f3ad5113e485917ba.tar.bz2
linux-stable-108b4537f1a450a4b979857f3ad5113e485917ba.zip
zd1211rw: fix storage endpoint lookup
commit 2d68bb2687abb747558b933e80845ff31570a49c upstream. Make sure to use the current alternate setting when verifying the storage interface descriptors to avoid submitting an URB to an invalid endpoint. Failing to do so could cause the driver to misbehave or trigger a WARN() in usb_submit_urb() that kernels with panic_on_warn set would choke on. Fixes: a1030e92c150 ("[PATCH] zd1211rw: Convert installer CDROM device into WLAN device") Cc: stable <stable@vger.kernel.org> # 2.6.19 Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arc')
0 files changed, 0 insertions, 0 deletions