qcacld-3.0: Logical AND current UAPSD bitmask with ADDTS rsp values

In function sme_ps_fill_uapsd_req_params perform a logical AND rather than OR
between current UASPD bitmask and values received in ADDTS response, otherwise
existing UAPSD bitmask (if all set) will always override ADDTS rsp values.

Change-Id: I17872f62b1f073963d3c04ad72415acd395f1ca5
CRs-Fixed: 1095306
This commit is contained in:
Naveen Rawat 2016-11-28 20:51:44 -08:00 • committed by qcabuildsw
commit 2560111dd2

View file

@ -81,11 +81,11 @@ static void sme_ps_fill_uapsd_req_params(tpAniSirGlobal mac_ctx,
struct ps_params *ps_param = &ps_global_info->ps_params[session_id];
uapsd_delivery_mask =
ps_param->uapsd_per_ac_bit_mask |
ps_param->uapsd_per_ac_bit_mask &
ps_param->uapsd_per_ac_delivery_enable_mask;
uapsd_trigger_mask =
ps_param->uapsd_per_ac_bit_mask |
ps_param->uapsd_per_ac_bit_mask &
ps_param->uapsd_per_ac_trigger_enable_mask;
uapsdParams->bkDeliveryEnabled =