]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd4feb2b5dd8a114ca85a382250cc787d16a49b66
treee7900e09e64548236de143488273832b2ead567b
parente0f20f4d3ce936760c796a5ccdca95d121c8040b
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