forked from Minki/linux
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 <ajay.kathat@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5fefe58f7f
commit
8b89ba7611
@ -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));
|
||||
}
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user