staging: wilc1000: move 'curr_channel' static variable in 'wilc' struct

Avoid the use of static variable and move it as part of wilc structure.

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 2019-02-05 07:16:02 +00:00 • committed by Greg Kroah-Hartman
commit 0d0f0b06a1
2 changed files with 13 additions and 10 deletions