From: Tim Collier Date: Wed, 26 Sep 2018 22:05:40 +0000 (+0100) Subject: staging: wlan-ng: rename DIDmsg_lnxreq_wlansniff in p80211metadef.h X-Git-Tag: v5.4-rc1~2324^2~229 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f64412ec543eec6a61cbed5b21282c9dd51ca16b;p=platform%2Fkernel%2Flinux-rpi.git staging: wlan-ng: rename DIDmsg_lnxreq_wlansniff in p80211metadef.h 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wlan-ng/p80211metadef.h b/drivers/staging/wlan-ng/p80211metadef.h index 294a728..c9f8f26 100644 --- a/drivers/staging/wlan-ng/p80211metadef.h +++ b/drivers/staging/wlan-ng/p80211metadef.h @@ -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 \ diff --git a/drivers/staging/wlan-ng/prism2sta.c b/drivers/staging/wlan-ng/prism2sta.c index b4e2301..c755d4d 100644 --- a/drivers/staging/wlan-ng/prism2sta.c +++ b/drivers/staging/wlan-ng/prism2sta.c @@ -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;