qcacmn: enable/disable detecting interop issues ap

Per flag detect_enable to enable/disable detecting
interop issues ap function in firmware.

Change-Id: I52617e3700a3c79fc5b72c53af6d4b8db5e97879
CRs-Fixed: 2602001
This commit is contained in:
Paul Zhang 2020-01-13 11:01:39 +08:00 • committed by nshrivas
commit e54fd8b367

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2019 The Linux Foundation. All rights reserved.
* Copyright (c) 2019-2020 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@ -96,7 +96,7 @@ send_set_rap_ps_cmd_tlv(wmi_unified_t wmi_handle,
WMI_HOST_PDEV_ID_SOC);
cmd->type = WMI_ROGUE_AP_ON_STA_PS;
if (count)
if (rap->detect_enable)
cmd->sta_ps_detection_enabled = 1;
else
cmd->sta_ps_detection_enabled = 0;