Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6b7fbb98 authored by Dundi Raviteja's avatar Dundi Raviteja
Browse files

wlan: update bt profile after driver load

Update bt profile status to firmware after driver load and
SSR completed.

Change-Id: I7c914a835bb37fdb3bb40a1af9bb7b1cbab8cf2d
CRs-Fixed: 2823842
parent 1982ed4d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2433,6 +2433,10 @@ static inline void hdd_fill_last_rx(hdd_adapter_t *adapter)
}
#else
void hdd_fill_last_rx(hdd_adapter_t *adapter);
static inline int wcnss_update_bt_profile(void)
{
	return 0;
}
#endif

#ifdef FEATURE_WLAN_SW_PTA
+2 −0
Original line number Diff line number Diff line
@@ -2875,5 +2875,7 @@ VOS_STATUS hdd_wlan_re_init(void)
   if (pHddCtx->cfg_ini->sap_internal_restart)
       hdd_ssr_restart_sap(pHddCtx);

   wcnss_update_bt_profile();

   return VOS_STATUS_SUCCESS;
}
+1 −0
Original line number Diff line number Diff line
@@ -4028,6 +4028,7 @@ int hdd_process_bt_sco_profile(hdd_context_t *hdd_ctx,
static void hdd_init_sw_pta(hdd_context_t *hdd_ctx)
{
	init_completion(&hdd_ctx->sw_pta_comp);
	wcnss_update_bt_profile();
}
static void hdd_deinit_sw_pta(hdd_context_t *hdd_ctx)