qcacmn: setup the target_pdev_id on mode switch
We need to set pdev->target_pdev_id after mode switch so that the correct target_pdev_id will be used for monitor mode ring configurations Change-Id: I0c79d0e69f8d28f8a7c8823a1010baf317571c20 CRs-Fixed: 2803005
This commit is contained in:

committed by
snandini

parent
1ba65c35d7
commit
5c48559237
@@ -10132,6 +10132,8 @@ dp_soc_handle_pdev_mode_change
|
|||||||
return QDF_STATUS_E_FAILURE;
|
return QDF_STATUS_E_FAILURE;
|
||||||
|
|
||||||
pdev->lmac_id = lmac_id;
|
pdev->lmac_id = lmac_id;
|
||||||
|
pdev->target_pdev_id =
|
||||||
|
dp_calculate_target_pdev_id_from_host_pdev_id(soc, pdev_id);
|
||||||
dp_info(" mode change %d %d\n", pdev->pdev_id, pdev->lmac_id);
|
dp_info(" mode change %d %d\n", pdev->pdev_id, pdev->lmac_id);
|
||||||
|
|
||||||
/*Set host PDEV ID for lmac_id*/
|
/*Set host PDEV ID for lmac_id*/
|
||||||
|
Reference in New Issue
Block a user