aboutsummaryrefslogtreecommitdiffstats
path: root/src/generic/usb_canbus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/generic/usb_canbus.c')
-rw-r--r--src/generic/usb_canbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/generic/usb_canbus.c b/src/generic/usb_canbus.c
index 25d41c1b..9e17c105 100644
--- a/src/generic/usb_canbus.c
+++ b/src/generic/usb_canbus.c
@@ -335,7 +335,7 @@ canbus_send(struct canbus_msg *msg)
int ret = send_frame(msg);
if (ret < 0)
goto retry_later;
- if (UsbCan.notify_local && UsbCan.host_status)
+ if (UsbCan.host_status)
canbus_notify_tx();
UsbCan.notify_local = 0;
return msg->dlc;