From 8b89ba7611af854b023179868ee15297aa3d4540 Mon Sep 17 00:00:00 2001 From: Ajay Singh Date: Tue, 4 Sep 2018 12:09:29 +0530 Subject: [PATCH] staging: wilc1000: rename 'dummy_statistics' variable to 'periodic_stat' Cleanup patch to use appropriate variable name to fetch the periodic statistics. Signed-off-by: Ajay Singh Signed-off-by: Greg Kroah-Hartman --- drivers/staging/wilc1000/host_interface.c | 2 +- drivers/staging/wilc1000/wilc_wfi_netdevice.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index e79ef6cfd588..18448fa7704d 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -3430,7 +3430,7 @@ static void get_periodic_rssi(struct timer_list *t) } if (vif->hif_drv->hif_state == HOST_IF_CONNECTED) - wilc_get_statistics(vif, &vif->dummy_statistics, false); + wilc_get_statistics(vif, &vif->periodic_stat, false); mod_timer(&vif->periodic_rssi, jiffies + msecs_to_jiffies(5000)); } diff --git a/drivers/staging/wilc1000/wilc_wfi_netdevice.h b/drivers/staging/wilc1000/wilc_wfi_netdevice.h index c103a0735a47..f20a2e366d5d 100644 --- a/drivers/staging/wilc1000/wilc_wfi_netdevice.h +++ b/drivers/staging/wilc1000/wilc_wfi_netdevice.h @@ -121,7 +121,7 @@ struct wilc_vif { struct timer_list during_ip_timer; bool obtaining_ip; struct timer_list periodic_rssi; - struct rf_info dummy_statistics; + struct rf_info periodic_stat; }; struct wilc { -- 2.30.2