[PATCH 05/16] staging: ks7010: indent enum properly in eap_packet.h header file

Sergio Paracuellos sergio.paracuellos at gmail.com
Fri Apr 6 10:38:12 UTC 2018


This commit indents properly some enumeration values to improve
code readability a bit.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos at gmail.com>
---
 drivers/staging/ks7010/eap_packet.h | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ks7010/eap_packet.h b/drivers/staging/ks7010/eap_packet.h
index d918742..989c63a 100644
--- a/drivers/staging/ks7010/eap_packet.h
+++ b/drivers/staging/ks7010/eap_packet.h
@@ -26,14 +26,17 @@ struct ieee802_1x_hdr {
 	/* followed by length octets of data */
 } __packed;
 
-enum { IEEE802_1X_TYPE_EAP_PACKET = 0,
+enum {
+	IEEE802_1X_TYPE_EAP_PACKET = 0,
 	IEEE802_1X_TYPE_EAPOL_START = 1,
 	IEEE802_1X_TYPE_EAPOL_LOGOFF = 2,
 	IEEE802_1X_TYPE_EAPOL_KEY = 3,
 	IEEE802_1X_TYPE_EAPOL_ENCAPSULATED_ASF_ALERT = 4
 };
 
-enum { EAPOL_KEY_TYPE_RC4 = 1, EAPOL_KEY_TYPE_RSN = 2,
+enum {
+	EAPOL_KEY_TYPE_RC4 = 1,
+	EAPOL_KEY_TYPE_RSN = 2,
 	EAPOL_KEY_TYPE_WPA = 254
 };
 
-- 
2.7.4



More information about the devel mailing list