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:
parent
bd12b21ec3
commit
25bab0e1b5
@ -202,7 +202,7 @@ struct host_if_msg {
|
|||||||
};
|
};
|
||||||
|
|
||||||
struct join_bss_param {
|
struct join_bss_param {
|
||||||
BSSTYPE_T bss_type;
|
enum bss_types bss_type;
|
||||||
u8 dtim_period;
|
u8 dtim_period;
|
||||||
u16 beacon_period;
|
u16 beacon_period;
|
||||||
u16 cap_info;
|
u16 cap_info;
|
||||||
|
@ -85,11 +85,11 @@ typedef enum {
|
|||||||
P2P_IE = 221,
|
P2P_IE = 221,
|
||||||
} BEACON_IE;
|
} BEACON_IE;
|
||||||
|
|
||||||
typedef enum {
|
enum bss_types {
|
||||||
INFRASTRUCTURE = 0,
|
INFRASTRUCTURE = 0,
|
||||||
INDEPENDENT,
|
INDEPENDENT,
|
||||||
AP,
|
AP,
|
||||||
} BSSTYPE_T;
|
};
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
RATE_AUTO = 0,
|
RATE_AUTO = 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user