Skip to content
Commit 2f361cd9 authored by Johan Hovold's avatar Johan Hovold Committed by Marc Kleine-Budde
Browse files

can: gs_usb: gs_usb_probe(): use descriptors of current altsetting



Make sure to always use the descriptors of the current alternate setting
to avoid future issues when accessing fields that may differ between
settings.

Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
Fixes: d08e973a ("can: gs_usb: Added support for the GS_USB CAN devices")
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent 5660493c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment