diff options
| author | Edhar, Mahesh Kumar <c_medhar@qti.qualcomm.com> | 2014-02-19 14:08:11 +0530 |
|---|---|---|
| committer | Akash Patel <c_akashp@qca.qualcomm.com> | 2014-02-28 15:58:08 -0800 |
| commit | cf3dc283a8e6e5b32157f8e4b406bad3cccae44f (patch) | |
| tree | 1a291b581e9bf9215cf9a39c946fab1e75f92ec9 | |
| parent | aaa5df72fc4031d79349e722c31433428edd65dc (diff) | |
WMA: check for opportunistic power save instead of NOA parameters.
Currently for setting opp_ps we are considering NOA parameters instead
of directly checking opp_ps parameters.
made changes to address the same
Change-Id: I10d08fb8d2b687a14a696c4ff5854b57042d652e
CRs-fixed: 619581
| -rw-r--r-- | CORE/SERVICES/WMA/wma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CORE/SERVICES/WMA/wma.c b/CORE/SERVICES/WMA/wma.c index f6a37d74e630..c45450677b1b 100644 --- a/CORE/SERVICES/WMA/wma.c +++ b/CORE/SERVICES/WMA/wma.c @@ -14892,7 +14892,7 @@ static void wma_process_set_p2pgo_noa_Req(tp_wma_handle wma, tP2pPsParams *ps_params) { WMA_LOGD("%s: Enter", __func__); - if (ps_params->count == 0 && ps_params->interval == 0) { + if (ps_params->opp_ps) { wma_set_p2pgo_oppps_req(wma, ps_params); } else { wma_set_p2pgo_noa_Req(wma, ps_params); |
