Commit 9c0867e0 authored by Vatsala Narang's avatar Vatsala Narang Committed by Greg Kroah-Hartman

staging: rtl8723bs: include: Fix identation issue

Corrected the identation of switch case to get rid of checkpatch error
Signed-off-by: default avatarVatsala Narang <vatsalanarang@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d01deea6
...@@ -374,18 +374,18 @@ __inline static unsigned char * get_da(unsigned char *pframe) ...@@ -374,18 +374,18 @@ __inline static unsigned char * get_da(unsigned char *pframe)
unsigned int to_fr_ds = (GetToDs(pframe) << 1) | GetFrDs(pframe); unsigned int to_fr_ds = (GetToDs(pframe) << 1) | GetFrDs(pframe);
switch (to_fr_ds) { switch (to_fr_ds) {
case 0x00: /* ToDs = 0, FromDs = 0 */ case 0x00: /* ToDs = 0, FromDs = 0 */
da = GetAddr1Ptr(pframe); da = GetAddr1Ptr(pframe);
break; break;
case 0x01: /* ToDs = 0, FromDs = 1 */ case 0x01: /* ToDs = 0, FromDs = 1 */
da = GetAddr1Ptr(pframe); da = GetAddr1Ptr(pframe);
break; break;
case 0x02: /* ToDs = 1, FromDs = 0 */ case 0x02: /* ToDs = 1, FromDs = 0 */
da = GetAddr3Ptr(pframe); da = GetAddr3Ptr(pframe);
break; break;
default: /* ToDs = 1, FromDs = 1 */ default: /* ToDs = 1, FromDs = 1 */
da = GetAddr3Ptr(pframe); da = GetAddr3Ptr(pframe);
break; break;
} }
return da; return da;
...@@ -398,18 +398,18 @@ __inline static unsigned char * get_sa(unsigned char *pframe) ...@@ -398,18 +398,18 @@ __inline static unsigned char * get_sa(unsigned char *pframe)
unsigned int to_fr_ds = (GetToDs(pframe) << 1) | GetFrDs(pframe); unsigned int to_fr_ds = (GetToDs(pframe) << 1) | GetFrDs(pframe);
switch (to_fr_ds) { switch (to_fr_ds) {
case 0x00: /* ToDs = 0, FromDs = 0 */ case 0x00: /* ToDs = 0, FromDs = 0 */
sa = GetAddr2Ptr(pframe); sa = GetAddr2Ptr(pframe);
break; break;
case 0x01: /* ToDs = 0, FromDs = 1 */ case 0x01: /* ToDs = 0, FromDs = 1 */
sa = GetAddr3Ptr(pframe); sa = GetAddr3Ptr(pframe);
break; break;
case 0x02: /* ToDs = 1, FromDs = 0 */ case 0x02: /* ToDs = 1, FromDs = 0 */
sa = GetAddr2Ptr(pframe); sa = GetAddr2Ptr(pframe);
break; break;
default: /* ToDs = 1, FromDs = 1 */ default: /* ToDs = 1, FromDs = 1 */
sa = GetAddr4Ptr(pframe); sa = GetAddr4Ptr(pframe);
break; break;
} }
return sa; return sa;
...@@ -421,18 +421,18 @@ __inline static unsigned char * get_hdr_bssid(unsigned char *pframe) ...@@ -421,18 +421,18 @@ __inline static unsigned char * get_hdr_bssid(unsigned char *pframe)
unsigned int to_fr_ds = (GetToDs(pframe) << 1) | GetFrDs(pframe); unsigned int to_fr_ds = (GetToDs(pframe) << 1) | GetFrDs(pframe);
switch (to_fr_ds) { switch (to_fr_ds) {
case 0x00: /* ToDs = 0, FromDs = 0 */ case 0x00: /* ToDs = 0, FromDs = 0 */
sa = GetAddr3Ptr(pframe); sa = GetAddr3Ptr(pframe);
break; break;
case 0x01: /* ToDs = 0, FromDs = 1 */ case 0x01: /* ToDs = 0, FromDs = 1 */
sa = GetAddr2Ptr(pframe); sa = GetAddr2Ptr(pframe);
break; break;
case 0x02: /* ToDs = 1, FromDs = 0 */ case 0x02: /* ToDs = 1, FromDs = 0 */
sa = GetAddr1Ptr(pframe); sa = GetAddr1Ptr(pframe);
break; break;
case 0x03: /* ToDs = 1, FromDs = 1 */ case 0x03: /* ToDs = 1, FromDs = 1 */
sa = GetAddr1Ptr(pframe); sa = GetAddr1Ptr(pframe);
break; break;
} }
return sa; return sa;
......
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