linux/drivers/net/can/usb/peak_usb
Stephane Grosjean dc50ddcd4c can: peak_usb: fix memset() usage
This patchs fixes a misplaced call to memset() that fills the request
buffer with 0. The problem was with sending PCAN_USBPRO_REQ_FCT
requests, the content set by the caller was thus lost.

With this patch, the memory area is zeroed only when requesting info
from the device.

Signed-off-by: Stephane Grosjean <s.grosjean@peak-system.com>
Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2014-12-06 19:11:18 +01:00
..
Makefile can: usb: PEAK-System Technik PCAN-USB Pro specific part 2012-03-03 17:40:58 +01:00
pcan_usb_core.c can: populate netdev::dev_id for udev discrimination 2014-03-17 09:20:16 +01:00
pcan_usb_core.h can: pcan_usb_core: remove obsolete variable open_time 2012-11-29 14:34:06 +01:00
pcan_usb_pro.c can: peak_usb: fix memset() usage 2014-12-06 19:11:18 +01:00
pcan_usb_pro.h net: can: peak_usb: Do not do dma on the stack 2013-06-03 14:05:32 +02:00
pcan_usb.c can: pcan_usb: fix wrong memcpy() bytes length 2013-08-11 21:51:49 -07:00