staging: wlan-ng: rename DIDmib_dot11mac_dot11OperationTable_dot11MaxTransmitMSDULife...
authorTim Collier <osdevtc@gmail.com>
Wed, 26 Sep 2018 22:06:12 +0000 (23:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Sep 2018 12:42:42 +0000 (14:42 +0200)
Rename
DIDmib_dot11mac_dot11OperationTable_dot11MaxTransmitMSDULifetime in
p80211metadef.h to
DIDMIB_DOT11MAC_OPERATIONTABLE_MAXTRANSMITMSDULIFETIME to fix "Avoid
CamelCase" message from checkpatch and conform to the coding style
guidelines. Also shorten name by removing repeated use of "DOT11" 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 08655902a82e64564eb4d1e3f42426c1dab3f6a4..db6b15c688bad3b2f089580d911dbe420723fd89 100644 (file)
                        (P80211DID_MKSECTION(2) | \
                        P80211DID_MKGROUP(1) | \
                        P80211DID_MKITEM(5) | 0x18000000)
-#define DIDmib_dot11mac_dot11OperationTable_dot11MaxTransmitMSDULifetime \
+#define DIDMIB_DOT11MAC_OPERATIONTABLE_MAXTRANSMITMSDULIFETIME \
                        (P80211DID_MKSECTION(2) | \
                        P80211DID_MKGROUP(1) | \
                        P80211DID_MKITEM(6) | 0x10000000)
index 645211898bce5af76fe5de4fe5aa2b9d0e19fe25..dbe49bda8043d9a047152065385dd148848bf44b 100644 (file)
@@ -199,7 +199,7 @@ static struct mibrec mibtab[] = {
         F_STA | F_READ | F_WRITE,
         HFA384x_RID_FRAGTHRESH, 0, 0,
         prism2mib_fragmentationthreshold},
-       {DIDmib_dot11mac_dot11OperationTable_dot11MaxTransmitMSDULifetime,
+       {DIDMIB_DOT11MAC_OPERATIONTABLE_MAXTRANSMITMSDULIFETIME,
         F_STA | F_READ,
         HFA384x_RID_MAXTXLIFETIME, 0, 0,
         prism2mib_uint32},