staging: wilc1000: avoid use of static variable in linux_mon.c
authorAjay Singh <ajay.kathat@microchip.com>
Tue, 5 Feb 2019 07:15:56 +0000 (07:15 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Feb 2019 12:31:20 +0000 (13:31 +0100)
commit8707091415997b0fb24054ad73affb5f89360540
treee7900e09e64548236de143488273832b2ead567b
parent98f83d3d01eb68e32e7b0de48aee8b19145a9d1b
staging: wilc1000: avoid use of static variable in linux_mon.c

Define local variable for 'srcadd' & 'bssid' static variables and use
ether_addr_copy() to copy value into them.

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