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

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

Rename DIDmsg_p2req_ramdl_state to DIDMSG_P2REQ_RAMDL_STATE in
p80211metadef.h 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 020600ae
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
(P80211DID_MKSECTION(5) | \ (P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2) | \ P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(2) | 0x00000000) P80211DID_MKITEM(2) | 0x00000000)
#define DIDmsg_p2req_ramdl_state \ #define DIDMSG_P2REQ_RAMDL_STATE \
(P80211DID_MKSECTION(5) | \ (P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(11)) P80211DID_MKGROUP(11))
#define DIDmsg_p2req_ramdl_state_enable \ #define DIDmsg_p2req_ramdl_state_enable \
......
...@@ -1021,7 +1021,7 @@ static int writeimage(struct wlandevice *wlandev, struct imgchunk *fchunk, ...@@ -1021,7 +1021,7 @@ static int writeimage(struct wlandevice *wlandev, struct imgchunk *fchunk,
/* Initialize the messages */ /* Initialize the messages */
strcpy(rstmsg->devname, wlandev->name); strcpy(rstmsg->devname, wlandev->name);
rstmsg->msgcode = DIDmsg_p2req_ramdl_state; rstmsg->msgcode = DIDMSG_P2REQ_RAMDL_STATE;
rstmsg->msglen = sizeof(*rstmsg); rstmsg->msglen = sizeof(*rstmsg);
rstmsg->enable.did = DIDmsg_p2req_ramdl_state_enable; rstmsg->enable.did = DIDmsg_p2req_ramdl_state_enable;
rstmsg->exeaddr.did = DIDmsg_p2req_ramdl_state_exeaddr; rstmsg->exeaddr.did = DIDmsg_p2req_ramdl_state_exeaddr;
......
...@@ -315,7 +315,7 @@ static int prism2sta_mlmerequest(struct wlandevice *wlandev, ...@@ -315,7 +315,7 @@ static int prism2sta_mlmerequest(struct wlandevice *wlandev,
pr_debug("Received mlme readpda request\n"); pr_debug("Received mlme readpda request\n");
result = prism2mgmt_readpda(wlandev, msg); result = prism2mgmt_readpda(wlandev, msg);
break; break;
case DIDmsg_p2req_ramdl_state: case DIDMSG_P2REQ_RAMDL_STATE:
pr_debug("Received mlme ramdl_state request\n"); pr_debug("Received mlme ramdl_state request\n");
result = prism2mgmt_ramdl_state(wlandev, msg); result = prism2mgmt_ramdl_state(wlandev, msg);
break; break;
......
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