staging: wilc1000: remove typedef from tuniHostIFkeyAttr

This patch remove typedef from the union tuniHostIFkeyAttr.
And rename it to host_if_key_attr.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Tony Cho <tony.cho@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Leo Kim 2015-10-05 15:25:41 +09:00 committed by Greg Kroah-Hartman
parent b9d963333d
commit 40cc2c90ad

View File

@ -116,7 +116,7 @@ typedef struct _tstrHostIFwepAttr {
} tstrHostIFwepAttr;
/*!
* @struct tuniHostIFkeyAttr
* @struct host_if_key_attr
* @brief Structure to hold Host IF Scan Attributes
* @details
* @todo
@ -125,11 +125,11 @@ typedef struct _tstrHostIFwepAttr {
* @date 25 March 2012
* @version 1.0
*/
typedef union _tuniHostIFkeyAttr {
union host_if_key_attr {
tstrHostIFwepAttr strHostIFwepAttr;
tstrHostIFwpaAttr strHostIFwpaAttr;
tstrHostIFpmkidAttr strHostIFpmkidAttr;
} tuniHostIFkeyAttr;
};
/*!
* @struct key_attr
@ -144,7 +144,7 @@ typedef union _tuniHostIFkeyAttr {
struct key_attr {
enum KEY_TYPE enuKeyType;
u8 u8KeyAction;
tuniHostIFkeyAttr uniHostIFkeyAttr;
union host_if_key_attr uniHostIFkeyAttr;
};