staging: wlan-ng: rename DIDmsg_lnxreq_commsquality in p80211metadef.h
authorTim Collier <osdevtc@gmail.com>
Wed, 26 Sep 2018 22:05:42 +0000 (23:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Sep 2018 12:41:37 +0000 (14:41 +0200)
Rename DIDmsg_lnxreq_commsquality in p80211metadef.h to
DIDMSG_LNXREQ_COMMSQUALITY 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 6ca123af5c3621a5473c46ede549f556c19cfb41..2622635945db1f118a12cd1847d49516789cf70f 100644 (file)
@@ -256,7 +256,7 @@ static int prism2_get_station(struct wiphy *wiphy, struct net_device *dev,
                return -EOPNOTSUPP;
 
        /* build request message */
-       quality.msgcode = DIDmsg_lnxreq_commsquality;
+       quality.msgcode = DIDMSG_LNXREQ_COMMSQUALITY;
        quality.dbm.data = P80211ENUM_truth_true;
        quality.dbm.status = P80211ENUM_msgitem_status_data_ok;
 
index 2cda010322f4ff735b2118e468d9528deb732537..14c5500799a35a608647d9d510927f48a3b7492b 100644 (file)
@@ -94,7 +94,7 @@
 #define DIDMSG_LNXREQ_HOSTWEP \
                        (P80211DID_MKSECTION(3) | \
                        P80211DID_MKGROUP(3))
-#define DIDmsg_lnxreq_commsquality \
+#define DIDMSG_LNXREQ_COMMSQUALITY \
                        (P80211DID_MKSECTION(3) | \
                        P80211DID_MKGROUP(4))
 #define DIDmsg_lnxreq_autojoin \
index ae6a99bf3cab5abeb1c0c69419b98e7f7154adb6..6ca444c5bb595123b86d0e76405f8b090a1a0139 100644 (file)
@@ -359,7 +359,7 @@ static int prism2sta_mlmerequest(struct wlandevice *wlandev,
                pr_debug("Received mlme autojoin request\n");
                result = prism2mgmt_autojoin(wlandev, msg);
                break;
-       case DIDmsg_lnxreq_commsquality:{
+       case DIDMSG_LNXREQ_COMMSQUALITY:{
                        struct p80211msg_lnxreq_commsquality *qualmsg;
 
                        pr_debug("Received commsquality request\n");