staging: rtl8723bs: include: Fix identation issue
authorVatsala Narang <vatsalanarang@gmail.com>
Sat, 23 Mar 2019 22:09:15 +0000 (03:39 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 Mar 2019 09:06:04 +0000 (10:06 +0100)
Corrected the identation of switch case to get rid of checkpatch error

Signed-off-by: Vatsala Narang <vatsalanarang@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/include/wifi.h

index c84cd27fe61d7a5476ea7575cd35133a65beaee0..8c50bbb20f3b6171d7b6c6b289ff0170c725a6fe 100644 (file)
@@ -374,18 +374,18 @@ __inline static unsigned char * get_da(unsigned char *pframe)
        unsigned int    to_fr_ds        = (GetToDs(pframe) << 1) | GetFrDs(pframe);
 
        switch (to_fr_ds) {
-               case 0x00:      /*  ToDs = 0, FromDs = 0 */
-                       da = GetAddr1Ptr(pframe);
-                       break;
-               case 0x01:      /*  ToDs = 0, FromDs = 1 */
-                       da = GetAddr1Ptr(pframe);
-                       break;
-               case 0x02:      /*  ToDs = 1, FromDs = 0 */
-                       da = GetAddr3Ptr(pframe);
-                       break;
-               default:        /*  ToDs = 1, FromDs = 1 */
-                       da = GetAddr3Ptr(pframe);
-                       break;
+       case 0x00:      /*  ToDs = 0, FromDs = 0 */
+               da = GetAddr1Ptr(pframe);
+               break;
+       case 0x01:      /*  ToDs = 0, FromDs = 1 */
+               da = GetAddr1Ptr(pframe);
+               break;
+       case 0x02:      /*  ToDs = 1, FromDs = 0 */
+               da = GetAddr3Ptr(pframe);
+               break;
+       default:        /*  ToDs = 1, FromDs = 1 */
+               da = GetAddr3Ptr(pframe);
+               break;
        }
 
        return da;
@@ -398,18 +398,18 @@ __inline static unsigned char * get_sa(unsigned char *pframe)
        unsigned int    to_fr_ds        = (GetToDs(pframe) << 1) | GetFrDs(pframe);
 
        switch (to_fr_ds) {
-               case 0x00:      /*  ToDs = 0, FromDs = 0 */
-                       sa = GetAddr2Ptr(pframe);
-                       break;
-               case 0x01:      /*  ToDs = 0, FromDs = 1 */
-                       sa = GetAddr3Ptr(pframe);
-                       break;
-               case 0x02:      /*  ToDs = 1, FromDs = 0 */
-                       sa = GetAddr2Ptr(pframe);
-                       break;
-               default:        /*  ToDs = 1, FromDs = 1 */
-                       sa = GetAddr4Ptr(pframe);
-                       break;
+       case 0x00:      /*  ToDs = 0, FromDs = 0 */
+               sa = GetAddr2Ptr(pframe);
+               break;
+       case 0x01:      /*  ToDs = 0, FromDs = 1 */
+               sa = GetAddr3Ptr(pframe);
+               break;
+       case 0x02:      /*  ToDs = 1, FromDs = 0 */
+               sa = GetAddr2Ptr(pframe);
+               break;
+       default:        /*  ToDs = 1, FromDs = 1 */
+               sa = GetAddr4Ptr(pframe);
+               break;
        }
 
        return sa;
@@ -421,18 +421,18 @@ __inline static unsigned char * get_hdr_bssid(unsigned char *pframe)
        unsigned int    to_fr_ds        = (GetToDs(pframe) << 1) | GetFrDs(pframe);
 
        switch (to_fr_ds) {
-               case 0x00:      /*  ToDs = 0, FromDs = 0 */
-                       sa = GetAddr3Ptr(pframe);
-                       break;
-               case 0x01:      /*  ToDs = 0, FromDs = 1 */
-                       sa = GetAddr2Ptr(pframe);
-                       break;
-               case 0x02:      /*  ToDs = 1, FromDs = 0 */
-                       sa = GetAddr1Ptr(pframe);
-                       break;
-               case 0x03:      /*  ToDs = 1, FromDs = 1 */
-                       sa = GetAddr1Ptr(pframe);
-                       break;
+       case 0x00:      /*  ToDs = 0, FromDs = 0 */
+               sa = GetAddr3Ptr(pframe);
+               break;
+       case 0x01:      /*  ToDs = 0, FromDs = 1 */
+               sa = GetAddr2Ptr(pframe);
+               break;
+       case 0x02:      /*  ToDs = 1, FromDs = 0 */
+               sa = GetAddr1Ptr(pframe);
+               break;
+       case 0x03:      /*  ToDs = 1, FromDs = 1 */
+               sa = GetAddr1Ptr(pframe);
+               break;
        }
 
        return sa;