diff options
Diffstat (limited to 'drivers/bluetooth/hci_h5.c')
| -rw-r--r-- | drivers/bluetooth/hci_h5.c | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/drivers/bluetooth/hci_h5.c b/drivers/bluetooth/hci_h5.c index 04680ead9275..fede8ca7147c 100644 --- a/drivers/bluetooth/hci_h5.c +++ b/drivers/bluetooth/hci_h5.c @@ -406,6 +406,7 @@ static int h5_rx_3wire_hdr(struct hci_uart *hu, unsigned char c)  	    H5_HDR_PKT_TYPE(hdr) != HCI_3WIRE_LINK_PKT) {  		BT_ERR("Non-link packet received in non-active state");  		h5_reset_rx(h5); +		return 0;  	}  	h5->rx_func = h5_rx_payload; |