Ver Fonte

qcacld-3.0: Implement WAR for tdls_peer_update_state convergence

An upcoming set of changes will converge three sets of TDLS structs
into one. In order to allow the qcacld-3.0 changes to be made
independent of the qca-wifi-host-cmn changes change the call to
wmi_unified_update_tdls_peer_state_cmd() to use (void *) typecasting.

Note that this is a temporary change since the typecasting will be
completely removed when the convergence has been completed.

Change-Id: I59089575b2f5f7470ad60ca85247367c14e72bcd
CRs-Fixed: 2395336
Jeff Johnson há 6 anos atrás
pai
commit
f115894a17
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      core/wma/src/wma_features.c

+ 1 - 1
core/wma/src/wma_features.c

@@ -4179,7 +4179,7 @@ int wma_update_tdls_peer_state(WMA_HANDLE handle,
 	}
 
 	if (wmi_unified_update_tdls_peer_state_cmd(wma_handle->wmi_handle,
-			 (struct tdls_peer_state_params *)peerStateParams,
+			 (void *)peerStateParams,
 			 ch_mhz)) {
 		WMA_LOGE("%s: failed to send tdls peer update state command",
 			 __func__);