staging: wlan-ng: rename DIDmsg_dot11req_scan_results in p80211metadef.h
authorTim Collier <osdevtc@gmail.com>
Wed, 26 Sep 2018 22:05:36 +0000 (23:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Sep 2018 12:41:36 +0000 (14:41 +0200)
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>
drivers/staging/wlan-ng/cfg80211.c
drivers/staging/wlan-ng/p80211metadef.h
drivers/staging/wlan-ng/prism2sta.c

index cf0cd364e60964100cbd35e753d016915f6404dd..6ca123af5c3621a5473c46ede549f556c19cfb41 100644 (file)
@@ -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);
index 06ee86683b226e3ab20cc86ddba61178655efa8d..69d585039ecf69e751cb9cfa551cacaefa0c39ec 100644 (file)
@@ -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 \
index ada01837137f0cb40c141f2cede9fb6d4a6179a5..83af96546651447660697acb7bd1022a8d7ab363 100644 (file)
@@ -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;