mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 16:37:50 +00:00
staging: wilc1000: apply power management regardless of open interfaces
Don't ignore power management if 2 interfaces are open Signed-off-by: Adham Abozaeid <adham.abozaeid@microchip.com> Link: https://lore.kernel.org/r/20190725213125.2810-6-adham.abozaeid@microchip.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ded11ab181
commit
7e0cf3e3bf
1 changed files with 0 additions and 3 deletions
|
@ -2010,9 +2010,6 @@ int wilc_set_power_mgmt(struct wilc_vif *vif, bool enabled, u32 timeout)
|
|||
int result;
|
||||
s8 power_mode;
|
||||
|
||||
if (wilc_wlan_get_num_conn_ifcs(vif->wilc) == 2 && enabled)
|
||||
return 0;
|
||||
|
||||
if (enabled)
|
||||
power_mode = WILC_FW_MIN_FAST_PS;
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue