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>
This commit is contained in:
Ajay Singh 2018-12-02 18:02:22 +00:00 • committed by Greg Kroah-Hartman
commit f78d5db98b
2 changed files with 80 additions and 72 deletions