summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorTim Collier <osdevtc@gmail.com>2018-09-26 23:05:39 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-09-28 14:41:37 +0200
commiteb7c161c2685acb973c534e12613f62b8e853f2a (patch)
tree5e451a281bb2e7e311f7fb7ce575bd6ec4598f89 /drivers
parent59155a817795fe3c64dbcc640acbad5ee9201e00 (diff)
downloadlinux-eb7c161c2685acb973c534e12613f62b8e853f2a.tar.bz2
staging: wlan-ng: rename DIDmsg_lnxreq_ifstate in p80211metadef.h
Rename DIDmsg_lnxreq_ifstate in p80211metadef.h to DIDMSG_LNXREQ_IFSTATE 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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/wlan-ng/p80211metadef.h2
-rw-r--r--drivers/staging/wlan-ng/p80211req.c2
-rw-r--r--drivers/staging/wlan-ng/prism2sta.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/wlan-ng/p80211metadef.h b/drivers/staging/wlan-ng/p80211metadef.h
index 671eeeb33e4e..294a728e0f6d 100644
--- a/drivers/staging/wlan-ng/p80211metadef.h
+++ b/drivers/staging/wlan-ng/p80211metadef.h
@@ -85,7 +85,7 @@
#define DIDmsg_dot11ind_associate \
(P80211DID_MKSECTION(2) | \
P80211DID_MKGROUP(3))
-#define DIDmsg_lnxreq_ifstate \
+#define DIDMSG_LNXREQ_IFSTATE \
(P80211DID_MKSECTION(3) | \
P80211DID_MKGROUP(1))
#define DIDmsg_lnxreq_wlansniff \
diff --git a/drivers/staging/wlan-ng/p80211req.c b/drivers/staging/wlan-ng/p80211req.c
index 0f7253234c95..665c48fb168c 100644
--- a/drivers/staging/wlan-ng/p80211req.c
+++ b/drivers/staging/wlan-ng/p80211req.c
@@ -117,7 +117,7 @@ int p80211req_dorequest(struct wlandevice *wlandev, u8 *msgbuf)
/* Check to make sure the MSD is running */
if (!((wlandev->msdstate == WLAN_MSD_HWPRESENT &&
- msg->msgcode == DIDmsg_lnxreq_ifstate) ||
+ msg->msgcode == DIDMSG_LNXREQ_IFSTATE) ||
wlandev->msdstate == WLAN_MSD_RUNNING ||
wlandev->msdstate == WLAN_MSD_FWLOAD)) {
return -ENODEV;
diff --git a/drivers/staging/wlan-ng/prism2sta.c b/drivers/staging/wlan-ng/prism2sta.c
index bec5cde8826a..b4e23018bfc2 100644
--- a/drivers/staging/wlan-ng/prism2sta.c
+++ b/drivers/staging/wlan-ng/prism2sta.c
@@ -336,7 +336,7 @@ static int prism2sta_mlmerequest(struct wlandevice *wlandev,
*/
case DIDmsg_lnxreq_hostwep:
break; /* ignore me. */
- case DIDmsg_lnxreq_ifstate:
+ case DIDMSG_LNXREQ_IFSTATE:
{
struct p80211msg_lnxreq_ifstate *ifstatemsg;