OSDN Git Service

staging: wlan-ng: rename DIDmib_dot11smt_dot11PrivacyTable in p80211metadef.h
authorTim Collier <osdevtc@gmail.com>
Wed, 26 Sep 2018 22:06:02 +0000 (23:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Sep 2018 12:42:41 +0000 (14:42 +0200)
Rename DIDmib_dot11smt_dot11PrivacyTable to
DIDMIB_DOT11SMT_PRIVACYTABLE to fix "Avoid CamelCase" message from
checkpatch and conform to the coding style guidelines. Also shorten
name by removing repeated use of "DOT11" to ease readability and
reduce long lines.

Signed-off-by: Tim Collier <osdevtc@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/p80211metadef.h

index 2515c22..b7fcdee 100644 (file)
 #define didmib_dot11smt_wepdefaultkeystable_key(_i) \
                        (DIDMIB_DOT11SMT_WEPDEFAULTKEYSTABLE | \
                        P80211DID_MKITEM(_i) | 0x0c000000)
-#define DIDmib_dot11smt_dot11PrivacyTable \
+#define DIDMIB_DOT11SMT_PRIVACYTABLE \
                        (P80211DID_MKSECTION(1) | \
                        P80211DID_MKGROUP(6))
 #define DIDmib_dot11smt_dot11PrivacyTable_dot11PrivacyInvoked \