staging: wilc1000: avoid overriding powersave state
authorAdham Abozaeid <adham.abozaeid@microchip.com>
Thu, 25 Jul 2019 21:31:35 +0000 (21:31 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Jul 2019 07:56:45 +0000 (09:56 +0200)
commitded11ab1818440a9e5b35f2cff78a76148762dbd
tree7b41387a56ba6e2a7d62bb0bfca2836e59d73de8
parent5a28d3fd407bf5225e7ab4eea1c5779a8a71c966
staging: wilc1000: avoid overriding powersave state

Don't override powersave state with respect to the open interfaces and
let the firmware take care of when it's appropriate to do so

Signed-off-by: Adham Abozaeid <adham.abozaeid@microchip.com>
Link: https://lore.kernel.org/r/20190725213125.2810-5-adham.abozaeid@microchip.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_hif.c
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
drivers/staging/wilc1000/wilc_wfi_netdevice.h