qcacld-3.0: Cleanup IPA resource init function
Move IPA one time initialization items to hdd_ipa_init and have only
pipe specific configuration in hdd_ipa_ol_init. Also move IPA UC
specific reinitializaion to IPA SSR handlers.
Change-Id: I1a502a1b7f926a3037e4ca35a24b1c341077dff6
CRs-fixed: 2006661
diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c
index 9fc0a6e..a1e99bf 100644
--- a/core/hdd/src/wlan_hdd_main.c
+++ b/core/hdd/src/wlan_hdd_main.c
@@ -8795,11 +8795,9 @@
* IPA module before configuring them to FW. Sequence required as crash
* observed otherwise.
*/
- if (hdd_ipa_uc_is_enabled(hdd_ctx)) {
- if (hdd_ipa_uc_ol_init(hdd_ctx)) {
- hdd_err("Failed to setup pipes");
- goto out;
- }
+ if (hdd_ipa_uc_ol_init(hdd_ctx)) {
+ hdd_err("Failed to setup pipes");
+ goto out;
}
/*