]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit404eb4623d4402b72264cc031b98f166dabd9208
tree42db264af27a353abfe912e7dd2740a613fb47d2
parent0281b2544abe50f8769aae084d0c6af11bb52e6f
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