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

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

Rename DIDmib_p2_p2Static_p2CnfPortType in p80211metadef.h to
DIDMIB_P2_STATIC_CNFPORTTYPE 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: default avatarTim Collier <osdevtc@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 35184f81
...@@ -129,7 +129,7 @@ static int prism2_change_virtual_intf(struct wiphy *wiphy, ...@@ -129,7 +129,7 @@ static int prism2_change_virtual_intf(struct wiphy *wiphy,
/* Set Operation mode to the PORT TYPE RID */ /* Set Operation mode to the PORT TYPE RID */
result = prism2_domibset_uint32(wlandev, result = prism2_domibset_uint32(wlandev,
DIDmib_p2_p2Static_p2CnfPortType, DIDMIB_P2_STATIC_CNFPORTTYPE,
data); data);
if (result) if (result)
......
...@@ -231,7 +231,7 @@ ...@@ -231,7 +231,7 @@
#define DIDMIB_P2_STATIC \ #define DIDMIB_P2_STATIC \
(P80211DID_MKSECTION(5) | \ (P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2)) P80211DID_MKGROUP(2))
#define DIDmib_p2_p2Static_p2CnfPortType \ #define DIDMIB_P2_STATIC_CNFPORTTYPE \
(P80211DID_MKSECTION(5) | \ (P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2) | \ P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(1) | 0x18000000) P80211DID_MKITEM(1) | 0x18000000)
......
...@@ -217,7 +217,7 @@ static struct mibrec mibtab[] = { ...@@ -217,7 +217,7 @@ static struct mibrec mibtab[] = {
/* p2Static MIB's */ /* p2Static MIB's */
{DIDmib_p2_p2Static_p2CnfPortType, {DIDMIB_P2_STATIC_CNFPORTTYPE,
F_STA | F_READ | F_WRITE, F_STA | F_READ | F_WRITE,
HFA384x_RID_CNFPORTTYPE, 0, 0, HFA384x_RID_CNFPORTTYPE, 0, 0,
prism2mib_uint32}, prism2mib_uint32},
......
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