]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
staging: wlan-ng: rename DIDmsg_dot11req_mibget_resultcode in p80211metadef.h
authorTim Collier <osdevtc@gmail.com>
Wed, 26 Sep 2018 22:05:31 +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_resultcode in p80211metadef.h to
DIDMSG_DOT11REQ_MIBGET_RESULTCODE 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 c7fa33e86ffc5a54dfd9dffa1d3aec7680cd48f6..cee0bee4a092753952119543d6b081ce7f345e5a 100644 (file)
@@ -55,7 +55,7 @@
                        (P80211DID_MKSECTION(1) | \
                        P80211DID_MKGROUP(1) | \
                        P80211DID_MKITEM(1) | 0x00000000)
-#define DIDmsg_dot11req_mibget_resultcode \
+#define DIDMSG_DOT11REQ_MIBGET_RESULTCODE \
                        (P80211DID_MKSECTION(1) | \
                        P80211DID_MKGROUP(1) | \
                        P80211DID_MKITEM(2) | 0x00000000)
index a2939969f0f71e187aa5a3d57bc9392e4519b74d..511cf5efca633ec0a1734f3da3326164c4a5b32a 100644 (file)
@@ -300,7 +300,7 @@ static int prism2_fwapply(const struct ihex_binrec *rfptr,
 
        getmsg.mibattribute.did = DIDMSG_DOT11REQ_MIBGET_MIBATTRIBUTE;
        getmsg.mibattribute.status = P80211ENUM_msgitem_status_data_ok;
-       getmsg.resultcode.did = DIDmsg_dot11req_mibget_resultcode;
+       getmsg.resultcode.did = DIDMSG_DOT11REQ_MIBGET_RESULTCODE;
        getmsg.resultcode.status = P80211ENUM_msgitem_status_no_value;
 
        item = (struct p80211itemd *)getmsg.mibattribute.data;