Commit e4143ab0 authored by Tim Collier's avatar Tim Collier Committed by Greg Kroah-Hartman

staging: wlan-ng: rename DIDmsg_lnxreq_hostwep in p80211metadef.h

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: default avatarTim Collier <osdevtc@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f64412ec
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
#define DIDMSG_LNXREQ_WLANSNIFF \ #define DIDMSG_LNXREQ_WLANSNIFF \
(P80211DID_MKSECTION(3) | \ (P80211DID_MKSECTION(3) | \
P80211DID_MKGROUP(2)) P80211DID_MKGROUP(2))
#define DIDmsg_lnxreq_hostwep \ #define DIDMSG_LNXREQ_HOSTWEP \
(P80211DID_MKSECTION(3) | \ (P80211DID_MKSECTION(3) | \
P80211DID_MKGROUP(3)) P80211DID_MKGROUP(3))
#define DIDmsg_lnxreq_commsquality \ #define DIDmsg_lnxreq_commsquality \
......
...@@ -172,7 +172,7 @@ static void p80211req_handlemsg(struct wlandevice *wlandev, ...@@ -172,7 +172,7 @@ static void p80211req_handlemsg(struct wlandevice *wlandev,
struct p80211msg *msg) struct p80211msg *msg)
{ {
switch (msg->msgcode) { switch (msg->msgcode) {
case DIDmsg_lnxreq_hostwep:{ case DIDMSG_LNXREQ_HOSTWEP:{
struct p80211msg_lnxreq_hostwep *req = struct p80211msg_lnxreq_hostwep *req =
(struct p80211msg_lnxreq_hostwep *)msg; (struct p80211msg_lnxreq_hostwep *)msg;
wlandev->hostwep &= wlandev->hostwep &=
......
...@@ -334,7 +334,7 @@ static int prism2sta_mlmerequest(struct wlandevice *wlandev, ...@@ -334,7 +334,7 @@ static int prism2sta_mlmerequest(struct wlandevice *wlandev,
/* /*
* Linux specific messages * Linux specific messages
*/ */
case DIDmsg_lnxreq_hostwep: case DIDMSG_LNXREQ_HOSTWEP:
break; /* ignore me. */ break; /* ignore me. */
case DIDMSG_LNXREQ_IFSTATE: case DIDMSG_LNXREQ_IFSTATE:
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment