linux/drivers/net/wireless/intersil/orinoco
Johan Hovold b73e05aa54 orinoco_usb: fix interface sanity check
Make sure to use the current alternate setting when verifying the
interface descriptors to avoid binding to an invalid interface.

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: 9afac70a73 ("orinoco: add orinoco_usb driver")
Cc: stable <stable@vger.kernel.org>     # 2.6.35
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2019-12-18 21:06:04 +02:00
..
airport.c
cfg.c
cfg.h
fw.c
fw.h
hermes_dld.c
hermes_dld.h
hermes_rid.h
hermes.c
hermes.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 216 2019-05-30 11:29:54 -07:00
hw.c
hw.h
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
main.c
main.h
Makefile
mic.c crypto: shash - remove shash_desc::flags 2019-04-25 15:38:12 +08:00
mic.h
orinoco_cs.c
orinoco_nortel.c
orinoco_pci.c
orinoco_pci.h
orinoco_plx.c
orinoco_tmd.c
orinoco_usb.c orinoco_usb: fix interface sanity check 2019-12-18 21:06:04 +02:00
orinoco.h
scan.c
scan.h
spectrum_cs.c
wext.c
wext.h