OSDN Git Service

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

Instead of static variable now allocating the data and passing to
handle_get_rssi() to fill the rssi information.

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