OSDN Git Service

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)
commite624c58cf8eb5116000f84b268932c6414c6999b
tree8c73789675fcd6281c3b4e5ce4f56f56858dd3d4
parent0b68334d487a348a99e39a2aaee7ae4db3e8fcc9
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