staging: wlan-ng: rename DIDmsg_p2req_readpda in p80211metadef.h
authorTim Collier <osdevtc@gmail.com>
Wed, 26 Sep 2018 22:05:44 +0000 (23:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Sep 2018 12:41:37 +0000 (14:41 +0200)
Rename DIDmsg_p2req_readpda in p80211metadef.h to DIDMSG_P2REQ_READPDA
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
drivers/staging/wlan-ng/prism2sta.c

index a217dc7dfcfc2d13c158ca15ab1dae8f68174c7e..16b4a57ffd4079f9688ddc0a1448312af6fa52cd 100644 (file)
 #define DIDMSG_LNXREQ_AUTOJOIN \
                        (P80211DID_MKSECTION(3) | \
                        P80211DID_MKGROUP(5))
-#define DIDmsg_p2req_readpda \
+#define DIDMSG_P2REQ_READPDA \
                        (P80211DID_MKSECTION(5) | \
                        P80211DID_MKGROUP(2))
 #define DIDmsg_p2req_readpda_pda \
index 511cf5efca633ec0a1734f3da3326164c4a5b32a..b33eac4dd57e601e0ea4e7da9a95eb4603eaba36 100644 (file)
@@ -787,7 +787,7 @@ static int read_cardpda(struct pda *pda, struct wlandevice *wlandev)
                return -ENOMEM;
 
        /* set up the msg */
-       msg->msgcode = DIDmsg_p2req_readpda;
+       msg->msgcode = DIDMSG_P2REQ_READPDA;
        msg->msglen = sizeof(msg);
        strcpy(msg->devname, wlandev->name);
        msg->pda.did = DIDmsg_p2req_readpda_pda;
index 3fef888d34a79db474692d31b2b4ca7b7608fbe4..a035aac0a2430f8239e8125590206b46b6776301 100644 (file)
@@ -311,7 +311,7 @@ static int prism2sta_mlmerequest(struct wlandevice *wlandev,
                /*
                 * Prism2 specific messages
                 */
-       case DIDmsg_p2req_readpda:
+       case DIDMSG_P2REQ_READPDA:
                pr_debug("Received mlme readpda request\n");
                result = prism2mgmt_readpda(wlandev, msg);
                break;