Commit 90de798d authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

fix garmin usb driver for garmin 18x usb

parent 808598f0
diff --git a/drivers/usb/serial/garmin_gps.c b/drivers/usb/serial/garmin_gps.c
index db591d1..fa8ede7 100644
--- a/drivers/usb/serial/garmin_gps.c
+++ b/drivers/usb/serial/garmin_gps.c
@@ -1166,6 +1166,8 @@ static void garmin_read_process(struct garmin_data *garmin_data_p,
send_to_tty(garmin_data_p->port, data,
data_length);
}
+ } else {
+ send_to_tty(garmin_data_p->port, data, data_length);
}
/* ignore system layer packets ... */
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment