ソースを参照

qcacmn: Fix incorrect arguments being passed in few WMI APIs

There are some WMI APIs which are using invalid arguments in
WMI interface layer. Send correct arguments.

CRs-Fixed: 1014141
Change-Id: If483a3ebcc62693be6ac6d3a767cb98e3bf064c7
Krunal Soni 9 年 前
コミット
2959c637e8
1 ファイル変更6 行追加6 行削除
  1. 6 6
      wmi/src/wmi_unified_api.c

+ 6 - 6
wmi/src/wmi_unified_api.c

@@ -2194,7 +2194,7 @@ QDF_STATUS wmi_unified_wow_sta_ra_filter_cmd(void *wmi_hdl,
 
 	if (wmi_handle->ops->send_wow_sta_ra_filter_cmd)
 		return wmi_handle->ops->send_wow_sta_ra_filter_cmd(wmi_handle,
-			    vdev_id, default_pattern, default_pattern);
+			    vdev_id, default_pattern, rate_limit_interval);
 
 	return QDF_STATUS_E_FAILURE;
 
@@ -2299,7 +2299,7 @@ QDF_STATUS wmi_unified_pktlog_wmi_send_cmd(void *wmi_hdl,
 
 	if (wmi_handle->ops->send_pktlog_wmi_send_cmd)
 		return wmi_handle->ops->send_pktlog_wmi_send_cmd(wmi_handle,
-			    pktlog_event, pktlog_event);
+			    pktlog_event, cmd_id);
 
 	return QDF_STATUS_E_FAILURE;
 }
@@ -2323,8 +2323,8 @@ QDF_STATUS wmi_unified_add_wow_wakeup_event_cmd(void *wmi_hdl,
 	wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
 
 	if (wmi_handle->ops->send_add_wow_wakeup_event_cmd)
-		return wmi_handle->ops->send_add_wow_wakeup_event_cmd(wmi_handle,
-			    vdev_id, vdev_id, vdev_id);
+		return wmi_handle->ops->send_add_wow_wakeup_event_cmd(
+				wmi_handle, vdev_id, bitmap, enable);
 
 	return QDF_STATUS_E_FAILURE;
 }
@@ -2476,8 +2476,8 @@ QDF_STATUS wmi_unified_enable_disable_packet_filter_cmd(void *wmi_hdl,
 	wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
 
 	if (wmi_handle->ops->send_enable_disable_packet_filter_cmd)
-		return wmi_handle->ops->send_enable_disable_packet_filter_cmd(wmi_handle,
-			    vdev_id, vdev_id);
+		return wmi_handle->ops->send_enable_disable_packet_filter_cmd(
+				wmi_handle, vdev_id, enable);
 
 	return QDF_STATUS_E_FAILURE;
 }