staging: wlan-ng: rename DIDmib_lnx_lnxConfigTable_lnxRSNAIE in p80211metadef.h
authorTim Collier <osdevtc@gmail.com>
Wed, 26 Sep 2018 22:06:20 +0000 (23:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Sep 2018 12:42:42 +0000 (14:42 +0200)
Rename DIDmib_lnx_lnxConfigTable_lnxRSNAIE in p80211metadef.h to
DIDMIB_LNX_CONFIGTABLE_RSNAIE to fix "Avoid CamelCase" message from
checkpatch and conform to the coding style guidelines. Also shorten
name by removing repeated use of "LNX" to ease readability and reduce
long lines.

Signed-off-by: Tim Collier <osdevtc@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/p80211metadef.h
drivers/staging/wlan-ng/prism2mib.c

index d04e7814831426108015ea2bc5993d457fb4bd9f..7fbf9614edbe6365ab26678a1f3e96052b10855c 100644 (file)
 #define DIDMIB_LNX_CONFIGTABLE \
                        (P80211DID_MKSECTION(4) | \
                        P80211DID_MKGROUP(1))
-#define DIDmib_lnx_lnxConfigTable_lnxRSNAIE \
+#define DIDMIB_LNX_CONFIGTABLE_RSNAIE \
                        (P80211DID_MKSECTION(4) | \
                        P80211DID_MKGROUP(1) | \
                        P80211DID_MKITEM(1) | 0x18000000)
index a8da03ced62e72a011a2b808656bd1e5478721f0..ea918df825d2afe685f8f934d9812593db05b2ab 100644 (file)
@@ -230,7 +230,7 @@ static struct mibrec mibtab[] = {
         prism2mib_uint32},
 
        /* And finally, lnx mibs */
-       {DIDmib_lnx_lnxConfigTable_lnxRSNAIE,
+       {DIDMIB_LNX_CONFIGTABLE_RSNAIE,
         F_STA | F_READ | F_WRITE,
         HFA384x_RID_CNFWPADATA, 0, 0,
         prism2mib_priv},
@@ -707,7 +707,7 @@ static int prism2mib_priv(struct mibrec *mib,
        struct p80211pstrd *pstr = data;
 
        switch (mib->did) {
-       case DIDmib_lnx_lnxConfigTable_lnxRSNAIE:{
+       case DIDMIB_LNX_CONFIGTABLE_RSNAIE:{
                        struct hfa384x_wpa_data wpa;
 
                        if (isget) {