qcacmn: Initialize ppe related function pointer to null

Initialize ppe related function pointers to null for 5332 and add a
check before calling the function pointer.

Change-Id: Idcaecfa839ff6822ab385053405256c201579bda
CRs-Fixed: 3378893
这个提交包含在:
Nandha Kishore Easwaran
2023-01-10 16:27:00 +05:30
提交者 Madan Koyyalamudi
父节点 5b69a94a15
当前提交 c7de5d4ddc
修改 2 个文件,包含 8 行新增5 行删除

查看文件

@@ -1354,6 +1354,7 @@ static void hal_hw_txrx_ops_attach_qca5332(struct hal_soc *hal_soc)
hal_soc->ops->hal_tx_dump_ppe_vp_entry = NULL;
hal_soc->ops->hal_tx_get_num_ppe_vp_tbl_entries = NULL;
hal_soc->ops->hal_tx_enable_pri2tid_map = NULL;
hal_soc->ops->hal_ppeds_cfg_ast_override_map_reg = NULL;
hal_soc->ops->hal_tx_config_rbm_mapping_be =
hal_tx_config_rbm_mapping_be_5332;