]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging:rtl8192u: Rename member variables - Style
authorJohn Whitmore <johnfwhitmore@gmail.com>
Sat, 28 Jul 2018 23:14:47 +0000 (00:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 Jul 2018 09:06:04 +0000 (11:06 +0200)
Rename the member variables of union aci_aifsn, which should be named
in lowercase. The only member variable, of this union, which is
actually used is 'acm'.

This are coding style changes which should have no impact on runtime
code execution.

Signed-off-by: John Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h
drivers/staging/rtl8192u/r8192U_dm.c

index 5856bf87c5dc6c9c466dc32ff8dd6ad4938f0f7f..901b85139d3b660e778b323f3b8868e1603177d3 100644 (file)
 // Ref: WMM spec 2.2.2: WME Parameter Element, p.12.
 //
 union aci_aifsn {
-       u8      charData;
+       u8      char_data;
 
        struct {
-               u8      AIFSN:4;
-               u8      ACM:1;
-               u8      ACI:2;
-               u8      Reserved:1;
+               u8      aifsn:4;
+               u8      acm:1;
+               u8      aci:2;
+               u8      reserved:1;
        } f;    // Field
 };
 
index 04c08ca8a0bb3097f25d3ece8187bfa815c939f1..7dc912dd53afb5cc3a5031298a8fb0572f009fd0 100644 (file)
@@ -2338,7 +2338,7 @@ static void dm_check_edca_turbo(
 
                                read_nic_byte(dev, AcmHwCtrl, &AcmCtrl);
 
-                               if (pAciAifsn->f.ACM) { /*  ACM bit is 1. */
+                               if (pAciAifsn->f.acm) { /*  acm bit is 1. */
                                        AcmCtrl |= AcmHw_BeqEn;
                                } else {        /* ACM bit is 0. */
                                        AcmCtrl &= (~AcmHw_BeqEn);