summaryrefslogtreecommitdiff
path: root/drivers/bluetooth/btmtksdio.c
diff options
context:
space:
mode:
authorJagdish Tirumala <t.jag587@gmail.com>2020-12-15 12:47:30 +0300
committerMarcel Holtmann <marcel@holtmann.org>2020-12-19 00:44:00 +0300
commit1ca2a39454069998918f0b24a654c613568ed505 (patch)
tree1d20581b317e737aeafa6740c04c2daea7a69a6b /drivers/bluetooth/btmtksdio.c
parentac40679139ac46bd22087002904edd04945d23a8 (diff)
downloadlinux-1ca2a39454069998918f0b24a654c613568ed505.tar.xz
Bluetooth: btmtksdio: Fixed switch and case should be at the same indent
Switch and case where not properly aligned Signed-off-by: Jagdish Tirumala <t.jag587@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/btmtksdio.c')
-rw-r--r--drivers/bluetooth/btmtksdio.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/bluetooth/btmtksdio.c b/drivers/bluetooth/btmtksdio.c
index 5f9f02795631..9872ef18f9fe 100644
--- a/drivers/bluetooth/btmtksdio.c
+++ b/drivers/bluetooth/btmtksdio.c
@@ -442,15 +442,15 @@ static int btmtksdio_rx_packet(struct btmtksdio_dev *bdev, u16 rx_size)
}
switch ((&pkts[i])->lsize) {
- case 1:
- dlen = skb->data[(&pkts[i])->loff];
- break;
- case 2:
- dlen = get_unaligned_le16(skb->data +
+ case 1:
+ dlen = skb->data[(&pkts[i])->loff];
+ break;
+ case 2:
+ dlen = get_unaligned_le16(skb->data +
(&pkts[i])->loff);
- break;
- default:
- goto err_kfree_skb;
+ break;
+ default:
+ goto err_kfree_skb;
}
pad_size = skb->len - (&pkts[i])->hlen - dlen;