staging: wlan-ng: rename DIDmsg_p2req_readpda in p80211metadef.h
Rename DIDmsg_p2req_readpda in p80211metadef.h to DIDMSG_P2REQ_READPDA 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>
This commit is contained in:
parent
b1f1118bfc
commit
f9f0e98fee
@ -100,7 +100,7 @@
|
|||||||
#define DIDMSG_LNXREQ_AUTOJOIN \
|
#define DIDMSG_LNXREQ_AUTOJOIN \
|
||||||
(P80211DID_MKSECTION(3) | \
|
(P80211DID_MKSECTION(3) | \
|
||||||
P80211DID_MKGROUP(5))
|
P80211DID_MKGROUP(5))
|
||||||
#define DIDmsg_p2req_readpda \
|
#define DIDMSG_P2REQ_READPDA \
|
||||||
(P80211DID_MKSECTION(5) | \
|
(P80211DID_MKSECTION(5) | \
|
||||||
P80211DID_MKGROUP(2))
|
P80211DID_MKGROUP(2))
|
||||||
#define DIDmsg_p2req_readpda_pda \
|
#define DIDmsg_p2req_readpda_pda \
|
||||||
|
@ -787,7 +787,7 @@ static int read_cardpda(struct pda *pda, struct wlandevice *wlandev)
|
|||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
|
|
||||||
/* set up the msg */
|
/* set up the msg */
|
||||||
msg->msgcode = DIDmsg_p2req_readpda;
|
msg->msgcode = DIDMSG_P2REQ_READPDA;
|
||||||
msg->msglen = sizeof(msg);
|
msg->msglen = sizeof(msg);
|
||||||
strcpy(msg->devname, wlandev->name);
|
strcpy(msg->devname, wlandev->name);
|
||||||
msg->pda.did = DIDmsg_p2req_readpda_pda;
|
msg->pda.did = DIDmsg_p2req_readpda_pda;
|
||||||
|
@ -311,7 +311,7 @@ static int prism2sta_mlmerequest(struct wlandevice *wlandev,
|
|||||||
/*
|
/*
|
||||||
* Prism2 specific messages
|
* Prism2 specific messages
|
||||||
*/
|
*/
|
||||||
case DIDmsg_p2req_readpda:
|
case DIDMSG_P2REQ_READPDA:
|
||||||
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user