Commit 1ca2a394 authored by Jagdish Tirumala's avatar Jagdish Tirumala Committed by Marcel Holtmann

Bluetooth: btmtksdio: Fixed switch and case should be at the same indent

Switch and case where not properly aligned
Signed-off-by: default avatarJagdish Tirumala <t.jag587@gmail.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent ac406791
...@@ -442,15 +442,15 @@ static int btmtksdio_rx_packet(struct btmtksdio_dev *bdev, u16 rx_size) ...@@ -442,15 +442,15 @@ static int btmtksdio_rx_packet(struct btmtksdio_dev *bdev, u16 rx_size)
} }
switch ((&pkts[i])->lsize) { switch ((&pkts[i])->lsize) {
case 1: case 1:
dlen = skb->data[(&pkts[i])->loff]; dlen = skb->data[(&pkts[i])->loff];
break; break;
case 2: case 2:
dlen = get_unaligned_le16(skb->data + dlen = get_unaligned_le16(skb->data +
(&pkts[i])->loff); (&pkts[i])->loff);
break; break;
default: default:
goto err_kfree_skb; goto err_kfree_skb;
} }
pad_size = skb->len - (&pkts[i])->hlen - dlen; pad_size = skb->len - (&pkts[i])->hlen - dlen;
......
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