From b9d963333de75d295d344f100fa95d776018b5f0 Mon Sep 17 00:00:00 2001 From: Leo Kim Date: Mon, 5 Oct 2015 15:25:40 +0900 Subject: [PATCH] staging: wilc1000: remove typedef from tenuKeyType This patch remove typedef from the enum tenuKeyType. And rename it to KEY_TYPE. Signed-off-by: Leo Kim Signed-off-by: Tony Cho Signed-off-by: Greg Kroah-Hartman --- drivers/staging/wilc1000/host_interface.c | 2 +- drivers/staging/wilc1000/host_interface.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index 38f1f5d0bdb8..3bfff777c00c 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -142,7 +142,7 @@ typedef union _tuniHostIFkeyAttr { * @version 1.0 */ struct key_attr { - tenuKeyType enuKeyType; + enum KEY_TYPE enuKeyType; u8 u8KeyAction; tuniHostIFkeyAttr uniHostIFkeyAttr; }; diff --git a/drivers/staging/wilc1000/host_interface.h b/drivers/staging/wilc1000/host_interface.h index 779ff99aca2b..856cab086563 100644 --- a/drivers/staging/wilc1000/host_interface.h +++ b/drivers/staging/wilc1000/host_interface.h @@ -172,12 +172,12 @@ typedef enum { CONN_DISCONN_EVENT_FORCE_32BIT = 0xFFFFFFFF } tenuConnDisconnEvent; -typedef enum { +enum KEY_TYPE { WEP, WPARxGtk, WPAPtk, PMKSA, -} tenuKeyType; +}; /*Scan callBack function definition*/ -- 2.20.1