mirror of
https://github.com/torvalds/linux.git
synced 2024-12-05 02:23:16 +00:00
staging: wlan-ng: rename DIDmib_p2_p2NIC_p2PRISupRange in p80211metadef.h
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>
This commit is contained in:
parent
a4857d8b30
commit
7ae2637aba
@ -235,7 +235,7 @@
|
||||
(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)
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user