staging: wilc1000: remove p2p related static variables to wilc_vif struct
authorAjay Singh <ajay.kathat@microchip.com>
Tue, 25 Sep 2018 06:23:39 +0000 (11:53 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Sep 2018 18:53:57 +0000 (20:53 +0200)
commitf41cf2460edfab5813b347b7890edadb47cfd17d
tree5272f735ccd5e0f71a3c4be4ee7ed4f69e8a1c0b
parenta944140250ce2f200d2b54fa7ec03aad4a5d6901
staging: wilc1000: remove p2p related static variables to wilc_vif struct

Avoid use of static variable and move them as part of private
data(wilc_priv) struct.

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