staging: wlan-ng: rename DIDmsg_dot11req_mibset_resultcode in p80211metadef.h
authorTim Collier <osdevtc@gmail.com>
Wed, 26 Sep 2018 22:05:34 +0000 (23:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Sep 2018 12:41:36 +0000 (14:41 +0200)
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: Tim Collier <osdevtc@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/p80211metadef.h
drivers/staging/wlan-ng/p80211netdev.c

index e28244bb6a52d38e5c33eabb491195ca68c41f65..5e99dc775c135e608cbe0ff7cee868f39ec225ba 100644 (file)
@@ -66,7 +66,7 @@
                        (P80211DID_MKSECTION(1) | \
                        P80211DID_MKGROUP(2) | \
                        P80211DID_MKITEM(1) | 0x00000000)
-#define DIDmsg_dot11req_mibset_resultcode \
+#define DIDMSG_DOT11REQ_MIBSET_RESULTCODE \
                        (P80211DID_MKSECTION(1) | \
                        P80211DID_MKGROUP(2) | \
                        P80211DID_MKITEM(2) | 0x00000000)
index 1062e07fe5052c3ba6d22d059380e1ea7d95733b..3c433a28bf8ef3c0f11e2e89208f9f28813c2f83 100644 (file)
@@ -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);
 
        /* 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->len = sizeof(resultcode->data);
        resultcode->data = 0;