staging: wlan-ng: rename DIDmsg_lnxreq_wlansniff in p80211metadef.h
authorTim Collier <osdevtc@gmail.com>
Wed, 26 Sep 2018 22:05:40 +0000 (23:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Sep 2018 12:41:37 +0000 (14:41 +0200)
Rename DIDmsg_lnxreq_wlansniff in p80211metadef.h to
DIDMSG_LNXREQ_WLANSNIFF 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 294a728e0f6d4ca82ae4491e8a047458b8436d62..c9f8f2681cf874ea7d9538168029dd89be8deb06 100644 (file)
@@ -88,7 +88,7 @@
 #define DIDMSG_LNXREQ_IFSTATE \
                        (P80211DID_MKSECTION(3) | \
                        P80211DID_MKGROUP(1))
-#define DIDmsg_lnxreq_wlansniff \
+#define DIDMSG_LNXREQ_WLANSNIFF \
                        (P80211DID_MKSECTION(3) | \
                        P80211DID_MKGROUP(2))
 #define DIDmsg_lnxreq_hostwep \
index b4e23018bfc231deee05f3775400e2692ecae1de..c755d4db432b06e1365ba053eb673ba880cec665 100644 (file)
@@ -351,7 +351,7 @@ static int prism2sta_mlmerequest(struct wlandevice *wlandev,
                        result = 0;
                }
                break;
-       case DIDmsg_lnxreq_wlansniff:
+       case DIDMSG_LNXREQ_WLANSNIFF:
                pr_debug("Received mlme wlansniff request\n");
                result = prism2mgmt_wlansniff(wlandev, msg);
                break;