aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/hci_h5.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/bluetooth/hci_h5.c')
-rw-r--r--drivers/bluetooth/hci_h5.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/bluetooth/hci_h5.c b/drivers/bluetooth/hci_h5.c
index fede8ca7147c..caacb422995d 100644
--- a/drivers/bluetooth/hci_h5.c
+++ b/drivers/bluetooth/hci_h5.c
@@ -355,10 +355,7 @@ static void h5_complete_rx_pkt(struct hci_uart *hu)
355 355
356static int h5_rx_crc(struct hci_uart *hu, unsigned char c) 356static int h5_rx_crc(struct hci_uart *hu, unsigned char c)
357{ 357{
358 struct h5 *h5 = hu->priv;
359
360 h5_complete_rx_pkt(hu); 358 h5_complete_rx_pkt(hu);
361 h5_reset_rx(h5);
362 359
363 return 0; 360 return 0;
364} 361}
@@ -373,7 +370,6 @@ static int h5_rx_payload(struct hci_uart *hu, unsigned char c)
373 h5->rx_pending = 2; 370 h5->rx_pending = 2;
374 } else { 371 } else {
375 h5_complete_rx_pkt(hu); 372 h5_complete_rx_pkt(hu);
376 h5_reset_rx(h5);
377 } 373 }
378 374
379 return 0; 375 return 0;