diff options
-rw-r--r-- | drivers/bluetooth/hci_h4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bluetooth/hci_h4.c b/drivers/bluetooth/hci_h4.c index 4e328d7d47bb..3b82a87224a9 100644 --- a/drivers/bluetooth/hci_h4.c +++ b/drivers/bluetooth/hci_h4.c | |||
@@ -172,7 +172,7 @@ struct sk_buff *h4_recv_buf(struct hci_dev *hdev, struct sk_buff *skb, | |||
172 | const struct h4_recv_pkt *pkts, int pkts_count) | 172 | const struct h4_recv_pkt *pkts, int pkts_count) |
173 | { | 173 | { |
174 | struct hci_uart *hu = hci_get_drvdata(hdev); | 174 | struct hci_uart *hu = hci_get_drvdata(hdev); |
175 | u8 alignment = hu->alignment; | 175 | u8 alignment = hu->alignment ? hu->alignment : 1; |
176 | 176 | ||
177 | while (count) { | 177 | while (count) { |
178 | int i, len; | 178 | int i, len; |