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

index c9f8f2681cf874ea7d9538168029dd89be8deb06..2cda010322f4ff735b2118e468d9528deb732537 100644 (file)
@@ -91,7 +91,7 @@
 #define DIDMSG_LNXREQ_WLANSNIFF \
                        (P80211DID_MKSECTION(3) | \
                        P80211DID_MKGROUP(2))
-#define DIDmsg_lnxreq_hostwep \
+#define DIDMSG_LNXREQ_HOSTWEP \
                        (P80211DID_MKSECTION(3) | \
                        P80211DID_MKGROUP(3))
 #define DIDmsg_lnxreq_commsquality \
index 665c48fb168c8513e2f21afdd8d311eaa8809674..cab577533767e21c2b168ed494cb41c92ae556dd 100644 (file)
@@ -172,7 +172,7 @@ static void p80211req_handlemsg(struct wlandevice *wlandev,
                                struct p80211msg *msg)
 {
        switch (msg->msgcode) {
-       case DIDmsg_lnxreq_hostwep:{
+       case DIDMSG_LNXREQ_HOSTWEP:{
                struct p80211msg_lnxreq_hostwep *req =
                        (struct p80211msg_lnxreq_hostwep *)msg;
                wlandev->hostwep &=
index c755d4db432b06e1365ba053eb673ba880cec665..ae6a99bf3cab5abeb1c0c69419b98e7f7154adb6 100644 (file)
@@ -334,7 +334,7 @@ static int prism2sta_mlmerequest(struct wlandevice *wlandev,
                /*
                 * Linux specific messages
                 */
-       case DIDmsg_lnxreq_hostwep:
+       case DIDMSG_LNXREQ_HOSTWEP:
                break;          /* ignore me. */
        case DIDMSG_LNXREQ_IFSTATE:
                {