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

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

Rename DIDmsg_dot11req_mibset_resultcode in p80211metadef.h to
DIDMSG_DOT11REQ_MIBSET_RESULTCODE 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 a6aace62
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
(P80211DID_MKSECTION(1) | \ (P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(2) | \ P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(1) | 0x00000000) P80211DID_MKITEM(1) | 0x00000000)
#define DIDmsg_dot11req_mibset_resultcode \ #define DIDMSG_DOT11REQ_MIBSET_RESULTCODE \
(P80211DID_MKSECTION(1) | \ (P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(2) | \ P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(2) | 0x00000000) P80211DID_MKITEM(2) | 0x00000000)
......
...@@ -656,7 +656,7 @@ static int p80211knetdev_set_mac_address(struct net_device *dev, void *addr) ...@@ -656,7 +656,7 @@ static int p80211knetdev_set_mac_address(struct net_device *dev, void *addr)
memcpy(&macaddr->data.data, new_addr->sa_data, ETH_ALEN); memcpy(&macaddr->data.data, new_addr->sa_data, ETH_ALEN);
/* Set up the resultcode argument */ /* Set up the resultcode argument */
resultcode->did = DIDmsg_dot11req_mibset_resultcode; resultcode->did = DIDMSG_DOT11REQ_MIBSET_RESULTCODE;
resultcode->status = P80211ENUM_msgitem_status_no_value; resultcode->status = P80211ENUM_msgitem_status_no_value;
resultcode->len = sizeof(resultcode->data); resultcode->len = sizeof(resultcode->data);
resultcode->data = 0; resultcode->data = 0;
......
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