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

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

Rename DIDmsg_lnxreq_autojoin in p80211metadef.h to
DIDMSG_LNXREQ_AUTOJOIN to fix "Avoid CamelCase" message from
checkpatch and conform to the coding style guidelines.
Signed-off-by: default avatarTim Collier <osdevtc@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3b6ee123
...@@ -533,7 +533,7 @@ static int prism2_connect(struct wiphy *wiphy, struct net_device *dev, ...@@ -533,7 +533,7 @@ static int prism2_connect(struct wiphy *wiphy, struct net_device *dev,
/* Now do the actual join. Note there is no way that I can /* Now do the actual join. Note there is no way that I can
* see to request a specific bssid * see to request a specific bssid
*/ */
msg_join.msgcode = DIDmsg_lnxreq_autojoin; msg_join.msgcode = DIDMSG_LNXREQ_AUTOJOIN;
memcpy(msg_join.ssid.data.data, sme->ssid, length); memcpy(msg_join.ssid.data.data, sme->ssid, length);
msg_join.ssid.data.len = length; msg_join.ssid.data.len = length;
...@@ -556,7 +556,7 @@ static int prism2_disconnect(struct wiphy *wiphy, struct net_device *dev, ...@@ -556,7 +556,7 @@ static int prism2_disconnect(struct wiphy *wiphy, struct net_device *dev,
int err = 0; int err = 0;
/* Do a join, with a bogus ssid. Thats the only way I can think of */ /* Do a join, with a bogus ssid. Thats the only way I can think of */
msg_join.msgcode = DIDmsg_lnxreq_autojoin; msg_join.msgcode = DIDMSG_LNXREQ_AUTOJOIN;
memcpy(msg_join.ssid.data.data, "---", 3); memcpy(msg_join.ssid.data.data, "---", 3);
msg_join.ssid.data.len = 3; msg_join.ssid.data.len = 3;
......
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
#define DIDMSG_LNXREQ_COMMSQUALITY \ #define DIDMSG_LNXREQ_COMMSQUALITY \
(P80211DID_MKSECTION(3) | \ (P80211DID_MKSECTION(3) | \
P80211DID_MKGROUP(4)) P80211DID_MKGROUP(4))
#define DIDmsg_lnxreq_autojoin \ #define DIDMSG_LNXREQ_AUTOJOIN \
(P80211DID_MKSECTION(3) | \ (P80211DID_MKSECTION(3) | \
P80211DID_MKGROUP(5)) P80211DID_MKGROUP(5))
#define DIDmsg_p2req_readpda \ #define DIDmsg_p2req_readpda \
......
...@@ -355,7 +355,7 @@ static int prism2sta_mlmerequest(struct wlandevice *wlandev, ...@@ -355,7 +355,7 @@ static int prism2sta_mlmerequest(struct wlandevice *wlandev,
pr_debug("Received mlme wlansniff request\n"); pr_debug("Received mlme wlansniff request\n");
result = prism2mgmt_wlansniff(wlandev, msg); result = prism2mgmt_wlansniff(wlandev, msg);
break; break;
case DIDmsg_lnxreq_autojoin: case DIDMSG_LNXREQ_AUTOJOIN:
pr_debug("Received mlme autojoin request\n"); pr_debug("Received mlme autojoin request\n");
result = prism2mgmt_autojoin(wlandev, msg); result = prism2mgmt_autojoin(wlandev, msg);
break; break;
......
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