diff --git a/pkg/candevice/device_linux.go b/pkg/candevice/device_linux.go index 622e41a..bfc713f 100644 --- a/pkg/candevice/device_linux.go +++ b/pkg/candevice/device_linux.go @@ -149,7 +149,7 @@ func (d *Device) SetListenOnlyMode(mode bool) error { } li := &linkInfoMsg{ - linkType: canLinkType, + linkType: CanLinkType, } li.info, err = d.getCurrentParametersForSet()