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: Tim Collier <osdevtc@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1ffaa906c3
commit
e3186790a5
@ -350,7 +350,7 @@ static int prism2_scan(struct wiphy *wiphy,
|
||||
int freq;
|
||||
|
||||
memset(&msg2, 0, sizeof(msg2));
|
||||
msg2.msgcode = DIDmsg_dot11req_scan_results;
|
||||
msg2.msgcode = DIDMSG_DOT11REQ_SCAN_RESULTS;
|
||||
msg2.bssindex.data = i;
|
||||
|
||||
result = p80211req_dorequest(wlandev, (u8 *)&msg2);
|
||||
|
@ -73,7 +73,7 @@
|
||||
#define DIDMSG_DOT11REQ_SCAN \
|
||||
(P80211DID_MKSECTION(1) | \
|
||||
P80211DID_MKGROUP(4))
|
||||
#define DIDmsg_dot11req_scan_results \
|
||||
#define DIDMSG_DOT11REQ_SCAN_RESULTS \
|
||||
(P80211DID_MKSECTION(1) | \
|
||||
P80211DID_MKGROUP(5))
|
||||
#define DIDmsg_dot11req_start \
|
||||
|
@ -300,7 +300,7 @@ static int prism2sta_mlmerequest(struct wlandevice *wlandev,
|
||||
pr_debug("Received scan request\n");
|
||||
result = prism2mgmt_scan(wlandev, msg);
|
||||
break;
|
||||
case DIDmsg_dot11req_scan_results:
|
||||
case DIDMSG_DOT11REQ_SCAN_RESULTS:
|
||||
pr_debug("Received scan_results request\n");
|
||||
result = prism2mgmt_scan_results(wlandev, msg);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user