Browse Source

qcacmn: Fix to send correct mac

Add change to send correct mac address
peer_flush_params->mac_id to flush tids
during the process of sending STOP cmd to FW.

Change-Id: I16dd0263a5d3d953da9c1d107136f5824c7736cd
CRs-Fixed: 2408175
Naga 6 years ago
parent
commit
dddd95f2e9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      umac/mlme/vdev_mgr/core/src/vdev_mgr_ops.c

+ 1 - 1
umac/mlme/vdev_mgr/core/src/vdev_mgr_ops.c

@@ -435,7 +435,7 @@ static QDF_STATUS vdev_mgr_peer_flush_tids_param_update(
 
 	param->vdev_id = wlan_vdev_get_id(vdev);
 	param->peer_tid_bitmap = peer_tid_bitmap;
-	qdf_mem_copy(param->peer_mac, mac, sizeof(*mac));
+	qdf_mem_copy(param->peer_mac, mac, QDF_MAC_ADDR_SIZE);
 	return QDF_STATUS_SUCCESS;
 }