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
此提交包含在:
Adil Saeed Musthafa
2020-10-28 15:02:45 -07:00
提交者 snandini
父節點 1ba65c35d7
當前提交 5c48559237

查看文件

@@ -10132,6 +10132,8 @@ dp_soc_handle_pdev_mode_change
return QDF_STATUS_E_FAILURE;
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);
/*Set host PDEV ID for lmac_id*/