]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: refactor code to avoid use of wilc_set_multicast_list global
authorAjay Singh <ajay.kathat@microchip.com>
Tue, 4 Sep 2018 06:39:26 +0000 (12:09 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Sep 2018 15:17:38 +0000 (17:17 +0200)
commitd44f0b2461ded28f5e26cecf7b96a8dcbc7043bd
tree8c73789675fcd6281c3b4e5ce4f56f56858dd3d4
parent257bc71e897e96aa9b734646708e345d87fb864d
staging: wilc1000: refactor code to avoid use of wilc_set_multicast_list global

Refactor the code to avoid use of 'wilc_set_multicast_list' global
variable. Allocate the memory required to keep the multicast mac address
and pass it to the worker thread.

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/linux_wlan.c