]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: avoid the use of 'wilc_wfi_mon' static variable
authorAjay Singh <ajay.kathat@microchip.com>
Sat, 2 Feb 2019 19:16:53 +0000 (19:16 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Feb 2019 11:38:40 +0000 (12:38 +0100)
commitc2b4a389ba6200ca6c9e56042bcf72f286b48d0f
treec118bb8eb63c4932d7dd99f0ecc742512f4ce6d1
parentf6881086ee5928ccb47193d08c6d9efb298f9ca5
staging: wilc1000: avoid the use of 'wilc_wfi_mon' static variable

Avoid use of static variable for monitor net_device and move it inside
wilc structure.

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