btfmcodec: Update bearer response instead of ind
This change will send bearer response instead of transport failed indications. Update correct codeid and smaple rate for seamles transitions Change-Id: I4b91f5e158c02d4f2dc1852cc58cec959d028497 Signed-off-by: Balakrishna Godavarthi <quic_bgodavar@quicinc.com>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
f42a9a1f35
commit
c49fc215ed
@@ -155,6 +155,7 @@ int btfmcodec_initiate_hwep_configuration(struct btfmcodec_char_device *btfmcode
|
||||
|
||||
schedule_work(&btfmcodec_dev->wq_hwep_configure);
|
||||
|
||||
*status = BTM_WAITING_RSP;
|
||||
ret = wait_event_interruptible_timeout(*rsp_wait_q,
|
||||
*status != BTM_WAITING_RSP,
|
||||
msecs_to_jiffies(BTM_MASTER_CONFIG_RSP_TIMEOUT));
|
||||
@@ -190,8 +191,8 @@ void btfmcodec_configure_hwep(struct btfmcodec_char_device *btfmcodec_dev)
|
||||
btfmcodec_revert_current_state(state);
|
||||
}
|
||||
|
||||
ret = btfmcodec_frame_transport_switch_ind_pkt(btfmcodec_dev,
|
||||
btfmcodec_get_current_transport(state), status);
|
||||
ret = btfmcodec_frame_prepare_bearer_rsp_pkt(btfmcodec_dev,
|
||||
btfmcodec_get_current_transport(state), status);
|
||||
|
||||
if (status != MSG_SUCCESS)
|
||||
return;
|
||||
|
Reference in New Issue
Block a user