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

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

Rename DIDmsg_dot11req_scan_results in p80211metadef.h to
DIDMSG_DOT11REQ_SCAN_RESULTS 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 1ffaa906
...@@ -350,7 +350,7 @@ static int prism2_scan(struct wiphy *wiphy, ...@@ -350,7 +350,7 @@ static int prism2_scan(struct wiphy *wiphy,
int freq; int freq;
memset(&msg2, 0, sizeof(msg2)); memset(&msg2, 0, sizeof(msg2));
msg2.msgcode = DIDmsg_dot11req_scan_results; msg2.msgcode = DIDMSG_DOT11REQ_SCAN_RESULTS;
msg2.bssindex.data = i; msg2.bssindex.data = i;
result = p80211req_dorequest(wlandev, (u8 *)&msg2); result = p80211req_dorequest(wlandev, (u8 *)&msg2);
......
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
#define DIDMSG_DOT11REQ_SCAN \ #define DIDMSG_DOT11REQ_SCAN \
(P80211DID_MKSECTION(1) | \ (P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(4)) P80211DID_MKGROUP(4))
#define DIDmsg_dot11req_scan_results \ #define DIDMSG_DOT11REQ_SCAN_RESULTS \
(P80211DID_MKSECTION(1) | \ (P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(5)) P80211DID_MKGROUP(5))
#define DIDmsg_dot11req_start \ #define DIDmsg_dot11req_start \
......
...@@ -300,7 +300,7 @@ static int prism2sta_mlmerequest(struct wlandevice *wlandev, ...@@ -300,7 +300,7 @@ static int prism2sta_mlmerequest(struct wlandevice *wlandev,
pr_debug("Received scan request\n"); pr_debug("Received scan request\n");
result = prism2mgmt_scan(wlandev, msg); result = prism2mgmt_scan(wlandev, msg);
break; break;
case DIDmsg_dot11req_scan_results: case DIDMSG_DOT11REQ_SCAN_RESULTS:
pr_debug("Received scan_results request\n"); pr_debug("Received scan_results request\n");
result = prism2mgmt_scan_results(wlandev, msg); result = prism2mgmt_scan_results(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