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

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

Rename DIDmsg_p2req_readpda_pda in p80211metadef.h to
DIDMSG_P2REQ_READPDA_PDA 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 f9f0e98f
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
#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 \
(P80211DID_MKSECTION(5) | \ (P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2) | \ P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(1) | 0x00000000) P80211DID_MKITEM(1) | 0x00000000)
......
...@@ -790,7 +790,7 @@ static int read_cardpda(struct pda *pda, struct wlandevice *wlandev) ...@@ -790,7 +790,7 @@ static int read_cardpda(struct pda *pda, struct wlandevice *wlandev)
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;
msg->pda.len = HFA384x_PDA_LEN_MAX; msg->pda.len = HFA384x_PDA_LEN_MAX;
msg->pda.status = P80211ENUM_msgitem_status_no_value; msg->pda.status = P80211ENUM_msgitem_status_no_value;
msg->resultcode.did = DIDmsg_p2req_readpda_resultcode; msg->resultcode.did = DIDmsg_p2req_readpda_resultcode;
......
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