From e54fd8b367c8fbd20700a520e15225f9d9534a5b Mon Sep 17 00:00:00 2001 From: Paul Zhang Date: Mon, 13 Jan 2020 11:01:39 +0800 Subject: [PATCH] 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 --- wmi/src/wmi_unified_interop_issues_ap_tlv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wmi/src/wmi_unified_interop_issues_ap_tlv.c b/wmi/src/wmi_unified_interop_issues_ap_tlv.c index 2f38cf0e947a..c60ffda4954b 100644 --- a/wmi/src/wmi_unified_interop_issues_ap_tlv.c +++ b/wmi/src/wmi_unified_interop_issues_ap_tlv.c @@ -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;