Bluetooth: btmtksdio: Fixed switch and case should be at the same indent
authorJagdish Tirumala <t.jag587@gmail.com>
Tue, 15 Dec 2020 09:47:30 +0000 (15:17 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 18 Dec 2020 21:44:00 +0000 (22:44 +0100)
Switch and case where not properly aligned

Signed-off-by: Jagdish Tirumala <t.jag587@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btmtksdio.c

index 5f9f027..9872ef1 100644 (file)
@@ -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;