678a32b2ddb8457bc2315afa2a7626070f7d15ff

In the htt_ipa_uc_get_resource, rx2_rdy_ring is from pdev->ipa_uc_rx_rsc.rx2_ind_ring, rx2_proc_done_idx is from pdev->ipa_uc_rx_rsc.rx2_ipa_prc_done_idx, but rx2_ind_ring & rx2_ipa_prc_done_idx are not used for WDI 1.0, just only used for WDI 2.0, which initialized in the htt_rx_ipa_uc_alloc_wdi2_rsc. So as for Rome that use WDI 1.0, these two variables are not initialized and thus they are NULL pointers. Therefore this change can fix NULL pointer deference for WDI 1.0 when CONFIG_IPA_WDI_UNIFIED_API is defined and meanwhile QCA_WIFI_3_0 used to distinguish WDI 2.0 and WDI 1.0 IPA RX params. Change-Id: I0378753dcedde4f398885d930a4cbbb2c854c110 CRs-Fixed: 2483879
This is CNSS WLAN Host Driver for products starting from iHelium
描述
儲存庫語言
C
98.7%
C++
0.9%
Makefile
0.3%
Starlark
0.1%