qcacmn: Make CM ser disconnect req as blocking or non blocking
Make CM serialization disconnect req as blocking or non blocking based on feature macro Change-Id: I71d664e28cba35d44c0c1fac2bd6a38c4bc4c9df CRs-Fixed: 2879850
This commit is contained in:

committed by
Madan Koyyalamudi

부모
92f26e1300
커밋
051c1e0d79
@@ -242,7 +242,7 @@ static QDF_STATUS cm_ser_connect_req(struct wlan_objmgr_pdev *pdev,
|
||||
cmd.is_high_priority = false;
|
||||
cmd.cmd_timeout_duration = cm_ctx->connect_timeout;
|
||||
cmd.vdev = cm_ctx->vdev;
|
||||
cmd.is_blocking = cm_ser_get_blocking_cmd();
|
||||
cmd.is_blocking = true;
|
||||
|
||||
ser_cmd_status = wlan_serialization_request(&cmd);
|
||||
switch (ser_cmd_status) {
|
||||
|
@@ -436,10 +436,17 @@ void cm_send_disconnect_resp(struct cnx_mgr *cm_ctx, wlan_cm_id cm_id);
|
||||
*
|
||||
* Return: bool
|
||||
*/
|
||||
#ifdef CONN_MGR_ADV_FEATURE
|
||||
static inline bool cm_ser_get_blocking_cmd(void)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
#else
|
||||
static inline bool cm_ser_get_blocking_cmd(void)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* cm_get_cm_id() - Get unique cm id for connect/disconnect request
|
||||
|
Reference in New Issue
Block a user