mirror of https://gitee.com/openkylin/linux.git
5660493c63
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:
|
||
---|---|---|
.. | ||
Makefile | ||
kvaser_usb.h | ||
kvaser_usb_core.c | ||
kvaser_usb_hydra.c | ||
kvaser_usb_leaf.c |