summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/wilc_wlan_if.h
diff options
context:
space:
mode:
authorAjay Singh2018-01-11 15:12:14 +0100
committerGreg Kroah-Hartman2018-01-15 15:52:21 +0100
commit25bab0e1b53fbef5f9d3ec6be0a0bb089e949832 (patch)
treef695e27e29997f64c9cd3ee4756c24be4792ce9c /drivers/staging/wilc1000/wilc_wlan_if.h
parentstaging: ccree: fix memory leaks in cc_ivgen_init (diff)
downloadkernel-qcow2-linux-25bab0e1b53fbef5f9d3ec6be0a0bb089e949832.tar.gz
kernel-qcow2-linux-25bab0e1b53fbef5f9d3ec6be0a0bb089e949832.tar.xz
kernel-qcow2-linux-25bab0e1b53fbef5f9d3ec6be0a0bb089e949832.zip
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>
Diffstat (limited to 'drivers/staging/wilc1000/wilc_wlan_if.h')
-rw-r--r--drivers/staging/wilc1000/wilc_wlan_if.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/wilc1000/wilc_wlan_if.h b/drivers/staging/wilc1000/wilc_wlan_if.h
index c1693cfc076d..2baf6c4619b5 100644
--- a/drivers/staging/wilc1000/wilc_wlan_if.h
+++ b/drivers/staging/wilc1000/wilc_wlan_if.h
@@ -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,