Browse Source

qcacmn: Add 1 to pdev_id for multi-radio

pdev id should be numbered as 1,2,3 for MAC 0,1,2 while
communicating with firmware.The pdev->pdev_id variable
holds 0,1,2 during init. Add 1 to the variable while
programming the ring metadata.

Change-Id: I2de7ef2c63d2bd59581d25ad2e45daaabdb579b6
Manoj Ekbote 8 years ago
parent
commit
6f56586d9a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dp/wifi3.0/dp_tx.c

+ 1 - 1
dp/wifi3.0/dp_tx.c

@@ -1375,7 +1375,7 @@ QDF_STATUS dp_tx_vdev_attach(struct dp_vdev *vdev)
 			vdev->vdev_id);
 
 	HTT_TX_TCL_METADATA_PDEV_ID_SET(vdev->htt_tcl_metadata,
-			vdev->pdev->pdev_id);
+			DP_SW2HW_MACID(vdev->pdev->pdev_id));
 
 	/*
 	 * Set HTT Extension Valid bit to 0 by default