staging: wilc1000: removed typedef from enum BSSTYPE_T
This patch removes typedef from enum BSSTYPE_T and rename it to bss_types. It fixes "WARNING: do not add new typdefs" warning reported by checkpatch.pl. Signed-off-by: Ajay Singh <ajay.kathat@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
bd12b21ec3
Коммит
25bab0e1b5
|
@ -202,7 +202,7 @@ struct host_if_msg {
|
|||
};
|
||||
|
||||
struct join_bss_param {
|
||||
BSSTYPE_T bss_type;
|
||||
enum bss_types bss_type;
|
||||
u8 dtim_period;
|
||||
u16 beacon_period;
|
||||
u16 cap_info;
|
||||
|
|
|
@ -85,11 +85,11 @@ typedef enum {
|
|||
P2P_IE = 221,
|
||||
} BEACON_IE;
|
||||
|
||||
typedef enum {
|
||||
enum bss_types {
|
||||
INFRASTRUCTURE = 0,
|
||||
INDEPENDENT,
|
||||
AP,
|
||||
} BSSTYPE_T;
|
||||
};
|
||||
|
||||
typedef enum {
|
||||
RATE_AUTO = 0,
|
||||
|
|
Загрузка…
Ссылка в новой задаче