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 91b611b..a0ccd26 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 ee49a8f..9926658 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;