diff options
author | Johan Hovold <johan@kernel.org> | 2019-12-10 12:32:31 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2020-01-02 15:34:27 +0100 |
commit | 2f361cd9474ab2c4ab9ac8db20faf81e66c6279b (patch) | |
tree | 9e3888ac4ba83f99c9317b1217a9b891c5bf97c3 /lib/nlattr.c | |
parent | 5660493c637c9d83786f1c9297f403eae44177b6 (diff) | |
download | linux-2f361cd9474ab2c4ab9ac8db20faf81e66c6279b.tar.bz2 |
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: Johan Hovold <johan@kernel.org>
Fixes: d08e973a77d1 ("can: gs_usb: Added support for the GS_USB CAN devices")
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'lib/nlattr.c')
0 files changed, 0 insertions, 0 deletions