diff options
author | Leo Kim | 2015-10-12 09:55:58 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-10-13 05:58:01 +0200 |
commit | 03e7b9c4283b325362e9c6b2640e21d2a3e131a7 (patch) | |
tree | 983ab48b57a975f6dda9e1640b148d09a91d4e9e /drivers/staging/wilc1000/host_interface.h | |
parent | staging: wilc1000: remove unused struct cfg_param_t (diff) | |
download | kernel-qcow2-linux-03e7b9c4283b325362e9c6b2640e21d2a3e131a7.tar.gz kernel-qcow2-linux-03e7b9c4283b325362e9c6b2640e21d2a3e131a7.tar.xz kernel-qcow2-linux-03e7b9c4283b325362e9c6b2640e21d2a3e131a7.zip |
staging: wilc1000: remove typedef from tstrStatistics
This patch removes typedef from the struct tstrStatistics and
rename it to rf_info.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Tony Cho <tony.cho@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/host_interface.h')
-rw-r--r-- | drivers/staging/wilc1000/host_interface.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/staging/wilc1000/host_interface.h b/drivers/staging/wilc1000/host_interface.h index c3379ecb1b97..1097f106bd6e 100644 --- a/drivers/staging/wilc1000/host_interface.h +++ b/drivers/staging/wilc1000/host_interface.h @@ -57,14 +57,13 @@ #define SCAN_EVENT_DONE_ABORTED #define NUM_CONCURRENT_IFC 2 -typedef struct _tstrStatistics { +struct rf_info { u8 u8LinkSpeed; s8 s8RSSI; u32 u32TxCount; u32 u32RxCount; u32 u32TxFailureCount; - -} tstrStatistics; +}; enum host_if_state { HOST_IF_IDLE = 0, @@ -1176,6 +1175,6 @@ static s32 Handle_ScanDone(struct host_if_drv *drvHandler, tenuScanEvent enuEven void host_int_freeJoinParams(void *pJoinParams); -s32 host_int_get_statistics(struct host_if_drv *hWFIDrv, tstrStatistics *pstrStatistics); +s32 host_int_get_statistics(struct host_if_drv *hWFIDrv, struct rf_info *pstrStatistics); #endif |