|
@@ -172,7 +172,7 @@ struct sk_buff *h4_recv_buf(struct hci_dev *hdev, struct sk_buff *skb,
|
|
const struct h4_recv_pkt *pkts, int pkts_count)
|
|
const struct h4_recv_pkt *pkts, int pkts_count)
|
|
{
|
|
{
|
|
struct hci_uart *hu = hci_get_drvdata(hdev);
|
|
struct hci_uart *hu = hci_get_drvdata(hdev);
|
|
- u8 alignment = hu->alignment;
|
|
|
|
|
|
+ u8 alignment = hu->alignment ? hu->alignment : 1;
|
|
|
|
|
|
while (count) {
|
|
while (count) {
|
|
int i, len;
|
|
int i, len;
|