summaryrefslogtreecommitdiff
path: root/drivers/char/nwflash.c
diff options
context:
space:
mode:
authorStefan Mätje <Stefan.Maetje@esd.eu>2017-10-18 14:25:17 +0300
committerMarc Kleine-Budde <mkl@pengutronix.de>2017-10-19 14:05:54 +0300
commit72d92e865d1560723e1957ee3f393688c49ca5bf (patch)
tree08495d55a27bc0a2cb9891ced80d9761fac89ebe /drivers/char/nwflash.c
parent5a606223c6b5b7560da253ed52e62c67fa18e29b (diff)
downloadlinux-72d92e865d1560723e1957ee3f393688c49ca5bf.tar.xz
can: esd_usb2: Fix can_dlc value for received RTR, frames
The dlc member of the struct rx_msg contains also the ESD_RTR flag to mark received RTR frames. Without the fix the can_dlc value for received RTR frames would always be set to 8 by get_can_dlc() instead of the received value. Fixes: 96d8e90382dc ("can: Add driver for esd CAN-USB/2 device") Signed-off-by: Stefan Mätje <stefan.maetje@esd.eu> Cc: linux-stable <stable@vger.kernel.org> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/char/nwflash.c')
0 files changed, 0 insertions, 0 deletions