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

staging: wlan-ng: rename...

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

Rename DIDmib_dot11mac_dot11OperationTable_dot11FragmentationThreshold
in p80211metadef.h to
DIDMIB_DOT11MAC_OPERATIONTABLE_FRAGMENTATIONTHRESHOLD to fix "Avoid
CamelCase" message from checkpatch and conform to the coding style
guidelines. Also shorten name by removing repeated use of "DOT11" 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 6bcf3b63
...@@ -425,7 +425,7 @@ static int prism2_set_wiphy_params(struct wiphy *wiphy, u32 changed) ...@@ -425,7 +425,7 @@ static int prism2_set_wiphy_params(struct wiphy *wiphy, u32 changed)
data = wiphy->frag_threshold; data = wiphy->frag_threshold;
result = prism2_domibset_uint32(wlandev, result = prism2_domibset_uint32(wlandev,
DIDmib_dot11mac_dot11OperationTable_dot11FragmentationThreshold, DIDMIB_DOT11MAC_OPERATIONTABLE_FRAGMENTATIONTHRESHOLD,
data); data);
if (result) { if (result) {
err = -EFAULT; err = -EFAULT;
......
...@@ -193,7 +193,7 @@ ...@@ -193,7 +193,7 @@
(P80211DID_MKSECTION(2) | \ (P80211DID_MKSECTION(2) | \
P80211DID_MKGROUP(1) | \ P80211DID_MKGROUP(1) | \
P80211DID_MKITEM(4) | 0x10000000) P80211DID_MKITEM(4) | 0x10000000)
#define DIDmib_dot11mac_dot11OperationTable_dot11FragmentationThreshold \ #define DIDMIB_DOT11MAC_OPERATIONTABLE_FRAGMENTATIONTHRESHOLD \
(P80211DID_MKSECTION(2) | \ (P80211DID_MKSECTION(2) | \
P80211DID_MKGROUP(1) | \ P80211DID_MKGROUP(1) | \
P80211DID_MKITEM(5) | 0x18000000) P80211DID_MKITEM(5) | 0x18000000)
......
...@@ -195,7 +195,7 @@ static struct mibrec mibtab[] = { ...@@ -195,7 +195,7 @@ static struct mibrec mibtab[] = {
F_STA | F_READ, F_STA | F_READ,
HFA384x_RID_LONGRETRYLIMIT, 0, 0, HFA384x_RID_LONGRETRYLIMIT, 0, 0,
prism2mib_uint32}, prism2mib_uint32},
{DIDmib_dot11mac_dot11OperationTable_dot11FragmentationThreshold, {DIDMIB_DOT11MAC_OPERATIONTABLE_FRAGMENTATIONTHRESHOLD,
F_STA | F_READ | F_WRITE, F_STA | F_READ | F_WRITE,
HFA384x_RID_FRAGTHRESH, 0, 0, HFA384x_RID_FRAGTHRESH, 0, 0,
prism2mib_fragmentationthreshold}, prism2mib_fragmentationthreshold},
......
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