summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergio Paracuellos <sergio.paracuellos@gmail.com>2018-04-06 14:37:40 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-23 14:27:35 +0200
commit477c5eb5ebc68f986073b6956dd863f8b0410f1e (patch)
treeda3d3f0c6ac6133541b0019d924f951d12afd8b0
parent7ba5800b0df6cc8a65b3db83fd7a2cb4426c2890 (diff)
downloadop-kernel-dev-477c5eb5ebc68f986073b6956dd863f8b0410f1e.zip
op-kernel-dev-477c5eb5ebc68f986073b6956dd863f8b0410f1e.tar.gz
staging: ks7010: indent enum properly in eap_packet.h header file
This commit indents properly some enumeration values to improve code readability a bit. Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/ks7010/eap_packet.h7
1 files 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
};
OpenPOWER on IntegriCloud