Parcourir la source

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
Paul Zhang il y a 5 ans
Parent
commit
e54fd8b367
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      wmi/src/wmi_unified_interop_issues_ap_tlv.c

+ 2 - 2
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;