Commit 25bab0e1 authored by Ajay Singh's avatar Ajay Singh Committed by Greg Kroah-Hartman

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: default avatarAjay Singh <ajay.kathat@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bd12b21e
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment