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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
+2 −2
Original line number Diff line number Diff line
@@ -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,