]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
can: peak_usb: fix missing ctrlmode_ init for every dev
authorStephane Grosjean <s.grosjean@peak-system.com>
Mon, 2 Mar 2015 10:54:38 +0000 (11:54 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 9 Mar 2015 09:22:24 +0000 (10:22 +0100)
commitb0d4724b8e4ce2a60ee4e097ec50c3759ec2090a
tree99ee4e832a88b14e1f4b0caf065a631f85164c09
parent969439016d2cf61fef53a973d7e6d2061c3793b1
can: peak_usb: fix missing ctrlmode_ init for every dev

Fixes a missing initialization of ctrlmode and ctrlmode_supported fields,
for all other CAN devices than the first one. This fix only concerns
the PCAN-USB Pro FD dual-channels CAN-FD device made by PEAK-System.

Signed-off-by: Stephane Grosjean <s.grosjean@peak-system.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/usb/peak_usb/pcan_usb_fd.c