staging: wilc1000: remove typedef from tstrHostIFwepAttr

This patch removes typedef from the struct tstrHostIFwepAttr.
And rename it to host_if_wep_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:42 +09:00 коммит произвёл Greg Kroah-Hartman
Родитель 40cc2c90ad
Коммит c276c44aac
1 изменённых файлов: 4 добавлений и 5 удалений

Просмотреть файл

@ -97,7 +97,7 @@ typedef struct _tstrHostIFwpaAttr {
/*!
* @struct tstrHostIFwepAttr
* @struct host_if_wep_attr
* @brief Structure to hold Host IF Scan Attributes
* @details
* @todo
@ -106,14 +106,13 @@ typedef struct _tstrHostIFwpaAttr {
* @date 25 March 2012
* @version 1.0
*/
typedef struct _tstrHostIFwepAttr {
struct host_if_wep_attr {
u8 *pu8WepKey;
u8 u8WepKeylen;
u8 u8Wepidx;
u8 u8mode;
enum AUTHTYPE tenuAuth_type;
} tstrHostIFwepAttr;
};
/*!
* @struct host_if_key_attr
@ -126,7 +125,7 @@ typedef struct _tstrHostIFwepAttr {
* @version 1.0
*/
union host_if_key_attr {
tstrHostIFwepAttr strHostIFwepAttr;
struct host_if_wep_attr strHostIFwepAttr;
tstrHostIFwpaAttr strHostIFwpaAttr;
tstrHostIFpmkidAttr strHostIFpmkidAttr;
};