]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
staging: wlan-ng: rename DIDmib_p2_p2NIC_p2PRISupRange in p80211metadef.h
authorTim Collier <osdevtc@gmail.com>
Wed, 26 Sep 2018 22:06:24 +0000 (23:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Sep 2018 12:42:42 +0000 (14:42 +0200)
Rename DIDmib_p2_p2NIC_p2PRISupRange in p80211metadef.h to
DIDMIB_P2_NIC_PRISUPRANGE to fix "Avoid CamelCase" message from
checkpatch and conform to the coding style guidelines. Also shorten
name by removing repeated use of "P2" to ease readability and reduce
long lines.

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/prism2fw.c

index 4939cdf7606c194d902dce5a9b440caefb4623d1..b2ff1db8ca65565a4896966436b9acd3c76f2179 100644 (file)
                        (P80211DID_MKSECTION(5) | \
                        P80211DID_MKGROUP(2) | \
                        P80211DID_MKITEM(1) | 0x18000000)
-#define DIDmib_p2_p2NIC_p2PRISupRange \
+#define DIDMIB_P2_NIC_PRISUPRANGE \
                        (P80211DID_MKSECTION(5) | \
                        P80211DID_MKGROUP(5) | \
                        P80211DID_MKITEM(6) | 0x10000000)
index d79d8623a1dbb8960547a1680148fdfded46e169..f99626ca6bdc95a465ac507aaa2439c563e125cc 100644 (file)
@@ -304,7 +304,7 @@ static int prism2_fwapply(const struct ihex_binrec *rfptr,
        getmsg.resultcode.status = P80211ENUM_msgitem_status_no_value;
 
        item = (struct p80211itemd *)getmsg.mibattribute.data;
-       item->did = DIDmib_p2_p2NIC_p2PRISupRange;
+       item->did = DIDMIB_P2_NIC_PRISUPRANGE;
        item->status = P80211ENUM_msgitem_status_no_value;
 
        data = (u32 *)item->data;