staging: wilc1000: avoid use of static variable 'inactive_time'
authorAjay Singh <ajay.kathat@microchip.com>
Tue, 26 Jun 2018 06:07:12 +0000 (11:37 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Jun 2018 12:55:51 +0000 (21:55 +0900)
commit6566dc0416084e7e6d607024b8c04ed08ad8011e
treefb648084ddc8991d7d28bf593744c6e842c039fa
parent56b408e513baeaff715acadbe98472f94e4cdbf3
staging: wilc1000: avoid use of static variable 'inactive_time'

Avoided the use of static variable 'inactive_time' and move it as part of
'sta_inactive_t' structure.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c