OSDN Git Service

staging: wlan-ng: rename DIDmsg_dot11req_mibset_mibattribute in p80211metadef.h
authorTim Collier <osdevtc@gmail.com>
Wed, 26 Sep 2018 22:05:33 +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_mibattribute in p80211metadef.h to
DIDMSG_DOT11REQ_MIBSET_MIBATTRIBUTE 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 520ee65..e28244b 100644 (file)
@@ -62,7 +62,7 @@
 #define DIDMSG_DOT11REQ_MIBSET \
                        (P80211DID_MKSECTION(1) | \
                        P80211DID_MKGROUP(2))
-#define DIDmsg_dot11req_mibset_mibattribute \
+#define DIDMSG_DOT11REQ_MIBSET_MIBATTRIBUTE \
                        (P80211DID_MKSECTION(1) | \
                        P80211DID_MKGROUP(2) | \
                        P80211DID_MKITEM(1) | 0x00000000)
index 9a563e5..1062e07 100644 (file)
@@ -645,7 +645,7 @@ static int p80211knetdev_set_mac_address(struct net_device *dev, void *addr)
               WLAN_DEVNAMELEN_MAX - 1);
 
        /* Set up the mibattribute argument */
-       mibattr->did = DIDmsg_dot11req_mibset_mibattribute;
+       mibattr->did = DIDMSG_DOT11REQ_MIBSET_MIBATTRIBUTE;
        mibattr->status = P80211ENUM_msgitem_status_data_ok;
        mibattr->len = sizeof(mibattr->data);