|
@@ -86,6 +86,25 @@ static QDF_STATUS target_if_vdev_mgr_rsp_timer_stop(
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
|
|
|
|
+#ifdef VDEV_ASSERT_MANAGEMENT
|
|
|
+static void target_if_vdev_mgr_assert_mgmt(
|
|
|
+ struct wlan_objmgr_vdev *vdev,
|
|
|
+ struct vdev_response_timer *vdev_rsp,
|
|
|
+ uint8_t set_bit)
|
|
|
+{
|
|
|
+ target_if_vdev_mgr_rsp_timer_stop(vdev, vdev_rsp,
|
|
|
+ set_bit);
|
|
|
+}
|
|
|
+#else
|
|
|
+static void target_if_vdev_mgr_assert_mgmt(
|
|
|
+ struct wlan_objmgr_vdev *vdev,
|
|
|
+ struct vdev_response_timer *vdev_rsp,
|
|
|
+ uint8_t set_bit)
|
|
|
+{
|
|
|
+ QDF_ASSERT(0);
|
|
|
+}
|
|
|
+#endif
|
|
|
+
|
|
|
static QDF_STATUS target_if_vdev_mgr_rsp_timer_start(
|
|
|
struct wlan_objmgr_vdev *vdev,
|
|
|
struct vdev_response_timer *vdev_rsp,
|
|
@@ -111,7 +130,8 @@ static QDF_STATUS target_if_vdev_mgr_rsp_timer_start(
|
|
|
mlme_err("PSOC_%d VDEV_%d: Response bit is set %d",
|
|
|
wlan_psoc_get_id(psoc),
|
|
|
vdev_id, vdev_rsp->rsp_status);
|
|
|
- QDF_ASSERT(0);
|
|
|
+ target_if_vdev_mgr_assert_mgmt(vdev, vdev_rsp,
|
|
|
+ rsp_pos);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -120,7 +140,8 @@ static QDF_STATUS target_if_vdev_mgr_rsp_timer_start(
|
|
|
mlme_err("PSOC_%d VDEV_%d: Response bit is set %d",
|
|
|
wlan_psoc_get_id(psoc),
|
|
|
vdev_id, vdev_rsp->rsp_status);
|
|
|
- QDF_ASSERT(0);
|
|
|
+ target_if_vdev_mgr_assert_mgmt(vdev, vdev_rsp,
|
|
|
+ set_bit);
|
|
|
}
|
|
|
|
|
|
/* reference taken for timer start, will be released with stop */
|