staging: wlan-ng: rename DIDmsg_dot11req_scan in p80211metadef.h
authorTim Collier <osdevtc@gmail.com>
Wed, 26 Sep 2018 22:05:35 +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 in p80211metadef.h to DIDMSG_DOT11REQ_SCAN
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 8a51dec36bea28c7964e428117ea22e003362303..cf0cd364e60964100cbd35e753d016915f6404dd 100644 (file)
@@ -311,7 +311,7 @@ static int prism2_scan(struct wiphy *wiphy,
        priv->scan_request = request;
 
        memset(&msg1, 0x00, sizeof(msg1));
-       msg1.msgcode = DIDmsg_dot11req_scan;
+       msg1.msgcode = DIDMSG_DOT11REQ_SCAN;
        msg1.bsstype.data = P80211ENUM_bsstype_any;
 
        memset(&msg1.bssid.data.data, 0xFF, sizeof(msg1.bssid.data.data));
index 5e99dc775c135e608cbe0ff7cee868f39ec225ba..06ee86683b226e3ab20cc86ddba61178655efa8d 100644 (file)
@@ -70,7 +70,7 @@
                        (P80211DID_MKSECTION(1) | \
                        P80211DID_MKGROUP(2) | \
                        P80211DID_MKITEM(2) | 0x00000000)
-#define DIDmsg_dot11req_scan \
+#define DIDMSG_DOT11REQ_SCAN \
                        (P80211DID_MKSECTION(1) | \
                        P80211DID_MKGROUP(4))
 #define DIDmsg_dot11req_scan_results \
index a25546888cca513a66995ba95124a87b57159187..ada01837137f0cb40c141f2cede9fb6d4a6179a5 100644 (file)
@@ -296,7 +296,7 @@ static int prism2sta_mlmerequest(struct wlandevice *wlandev,
                pr_debug("Received mibset request\n");
                result = prism2mgmt_mibset_mibget(wlandev, msg);
                break;
-       case DIDmsg_dot11req_scan:
+       case DIDMSG_DOT11REQ_SCAN:
                pr_debug("Received scan request\n");
                result = prism2mgmt_scan(wlandev, msg);
                break;