OSDN Git Service

staging: wilc1000: remove use of unnecessary 'wilc_connected_ssid' variable
authorAjay Singh <ajay.kathat@microchip.com>
Tue, 25 Sep 2018 06:23:35 +0000 (11:53 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Sep 2018 18:53:57 +0000 (20:53 +0200)
commitd29ad322e0ea4f5dac4a66ccf19e88def79b43b2
tree574f54718d23cb539ed756c1edf54f5ab3b6d25d
parent39996811d5d2811c0551ed346099e65e7825c0e6
staging: wilc1000: remove use of unnecessary 'wilc_connected_ssid' variable

'wilc_connected_ssid' actually used to store the BSSID information for
connected BSSID. 'wilc_vif' already has 'bssid' variable to store the
same information. So refactor code to remove 'wilc_connected_ssid' and
instead used 'wilc_vif' struct 'bssid' element.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c
drivers/staging/wilc1000/host_interface.h
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c