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

staging: wlan-ng: rename...

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

Rename DIDmib_dot11smt_dot11PrivacyTable_dot11ExcludeUnencrypted in
p80211metadef.h to DIDMIB_DOT11SMT_PRIVACYTABLE_EXCLUDEUNENCRYPTED 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 eeeeacd8
...@@ -508,7 +508,7 @@ static int prism2_connect(struct wiphy *wiphy, struct net_device *dev, ...@@ -508,7 +508,7 @@ static int prism2_connect(struct wiphy *wiphy, struct net_device *dev,
goto exit; goto exit;
result = prism2_domibset_uint32(wlandev, result = prism2_domibset_uint32(wlandev,
DIDmib_dot11smt_dot11PrivacyTable_dot11ExcludeUnencrypted, DIDMIB_DOT11SMT_PRIVACYTABLE_EXCLUDEUNENCRYPTED,
P80211ENUM_truth_true); P80211ENUM_truth_true);
if (result) if (result)
goto exit; goto exit;
...@@ -524,7 +524,7 @@ static int prism2_connect(struct wiphy *wiphy, struct net_device *dev, ...@@ -524,7 +524,7 @@ static int prism2_connect(struct wiphy *wiphy, struct net_device *dev,
goto exit; goto exit;
result = prism2_domibset_uint32(wlandev, result = prism2_domibset_uint32(wlandev,
DIDmib_dot11smt_dot11PrivacyTable_dot11ExcludeUnencrypted, DIDMIB_DOT11SMT_PRIVACYTABLE_EXCLUDEUNENCRYPTED,
P80211ENUM_truth_false); P80211ENUM_truth_false);
if (result) if (result)
goto exit; goto exit;
......
...@@ -170,7 +170,7 @@ ...@@ -170,7 +170,7 @@
(P80211DID_MKSECTION(1) | \ (P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(6) | \ P80211DID_MKGROUP(6) | \
P80211DID_MKITEM(2) | 0x18000000) P80211DID_MKITEM(2) | 0x18000000)
#define DIDmib_dot11smt_dot11PrivacyTable_dot11ExcludeUnencrypted \ #define DIDMIB_DOT11SMT_PRIVACYTABLE_EXCLUDEUNENCRYPTED \
(P80211DID_MKSECTION(1) | \ (P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(6) | \ P80211DID_MKGROUP(6) | \
P80211DID_MKITEM(4) | 0x18000000) P80211DID_MKITEM(4) | 0x18000000)
......
...@@ -233,7 +233,7 @@ static void p80211req_mibset_mibget(struct wlandevice *wlandev, ...@@ -233,7 +233,7 @@ static void p80211req_mibset_mibget(struct wlandevice *wlandev,
HOSTWEP_PRIVACYINVOKED); HOSTWEP_PRIVACYINVOKED);
break; break;
} }
case DIDmib_dot11smt_dot11PrivacyTable_dot11ExcludeUnencrypted:{ case DIDMIB_DOT11SMT_PRIVACYTABLE_EXCLUDEUNENCRYPTED:{
u32 *data = (u32 *)mibitem->data; u32 *data = (u32 *)mibitem->data;
p80211req_handle_action(wlandev, data, isget, p80211req_handle_action(wlandev, data, isget,
......
...@@ -172,7 +172,7 @@ static struct mibrec mibtab[] = { ...@@ -172,7 +172,7 @@ static struct mibrec mibtab[] = {
F_STA | F_READ | F_WRITE, F_STA | F_READ | F_WRITE,
HFA384x_RID_CNFWEPDEFAULTKEYID, 0, 0, HFA384x_RID_CNFWEPDEFAULTKEYID, 0, 0,
prism2mib_uint32}, prism2mib_uint32},
{DIDmib_dot11smt_dot11PrivacyTable_dot11ExcludeUnencrypted, {DIDMIB_DOT11SMT_PRIVACYTABLE_EXCLUDEUNENCRYPTED,
F_STA | F_READ | F_WRITE, F_STA | F_READ | F_WRITE,
HFA384x_RID_CNFWEPFLAGS, HFA384x_WEPFLAGS_EXCLUDE, 0, HFA384x_RID_CNFWEPFLAGS, HFA384x_WEPFLAGS_EXCLUDE, 0,
prism2mib_excludeunencrypted}, prism2mib_excludeunencrypted},
......
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