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

index 91b611b942c35312d9be25f39565eafd96226296..a0ccd267ee31639ce6b0aadd4c2d097689183ea1 100644 (file)
 #define DIDMSG_P2REQ_FLASHDL_STATE \
                        (P80211DID_MKSECTION(5) | \
                        P80211DID_MKGROUP(13))
-#define DIDmsg_p2req_flashdl_write \
+#define DIDMSG_P2REQ_FLASHDL_WRITE \
                        (P80211DID_MKSECTION(5) | \
                        P80211DID_MKGROUP(14))
 #define DIDmib_cat_dot11smt \
index ee49a8f3693ec62f1c49df2effe9059a0ca7ae64..99266581511fb9bfed16b6c1d62dc77f93cfe871 100644 (file)
@@ -327,7 +327,7 @@ static int prism2sta_mlmerequest(struct wlandevice *wlandev,
                pr_debug("Received mlme flashdl_state request\n");
                result = prism2mgmt_flashdl_state(wlandev, msg);
                break;
-       case DIDmsg_p2req_flashdl_write:
+       case DIDMSG_P2REQ_FLASHDL_WRITE:
                pr_debug("Received mlme flashdl_write request\n");
                result = prism2mgmt_flashdl_write(wlandev, msg);
                break;