staging: wlan-ng: rename DIDmsg_dot11req_mibget_mibattribute in p80211metadef.h
authorTim Collier <osdevtc@gmail.com>
Wed, 26 Sep 2018 22:05:30 +0000 (23:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Sep 2018 12:41:36 +0000 (14:41 +0200)
Rename DIDmsg_dot11req_mibget_mibattribute in p80211metadef.h to
DIDMSG_DOT11REQ_MIBGET_MIBATTRIBUTE to fix "Avoid CamelCase" message
from checkpatch and conform to the coding style guidelines.

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/prism2fw.c

index 2a82f1d9b7f72910374e557c53c72ebde56e603f..c7fa33e86ffc5a54dfd9dffa1d3aec7680cd48f6 100644 (file)
@@ -51,7 +51,7 @@
 #define DIDMSG_DOT11REQ_MIBGET \
                        (P80211DID_MKSECTION(1) | \
                        P80211DID_MKGROUP(1))
-#define DIDmsg_dot11req_mibget_mibattribute \
+#define DIDMSG_DOT11REQ_MIBGET_MIBATTRIBUTE \
                        (P80211DID_MKSECTION(1) | \
                        P80211DID_MKGROUP(1) | \
                        P80211DID_MKITEM(1) | 0x00000000)
index 375e30f340417a46ef10912495410a32da62ac32..a2939969f0f71e187aa5a3d57bc9392e4519b74d 100644 (file)
@@ -298,7 +298,7 @@ static int prism2_fwapply(const struct ihex_binrec *rfptr,
        getmsg.msglen = sizeof(getmsg);
        strcpy(getmsg.devname, wlandev->name);
 
-       getmsg.mibattribute.did = DIDmsg_dot11req_mibget_mibattribute;
+       getmsg.mibattribute.did = DIDMSG_DOT11REQ_MIBGET_MIBATTRIBUTE;
        getmsg.mibattribute.status = P80211ENUM_msgitem_status_data_ok;
        getmsg.resultcode.did = DIDmsg_dot11req_mibget_resultcode;
        getmsg.resultcode.status = P80211ENUM_msgitem_status_no_value;