staging: wilc1000: avoid the use of the static variable to configure wiphy struct
authorAjay Singh <ajay.kathat@microchip.com>
Sun, 2 Dec 2018 18:02:22 +0000 (18:02 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Dec 2018 08:48:45 +0000 (09:48 +0100)
commitf78d5db98b653e4d717c8b78aa15f76489cd3ab3
tree9d4ad33df707ae97a35236f08cca345bec6a1a97
parent21728f2e7226aa1cb8aa04bb670df94afe625196
staging: wilc1000: avoid the use of the static variable to configure wiphy struct

Refactor code to avoid the use of static variables to configure the
'wiphy' structure. Now move static variables as part of 'priv' data so
it helped to maintain this information per interface.

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