@@ -110,9 +110,12 @@ void test_cte_req_central_local(void)
110110 /* Receive notification of sampled CTE response */
111111 ut_rx_pdu (LL_CTE_RSP , & ntf , & remote_cte_rsp );
112112
113- /* There should not be a host notifications */
113+ /* The RX queue should be empty now */
114114 ut_rx_q_is_empty ();
115115
116+ /* Release Ntf */
117+ ull_cp_release_ntf (ntf );
118+
116119 /* Release tx node */
117120 ull_cp_release_tx (& conn , tx );
118121
@@ -288,12 +291,15 @@ void test_cte_req_peripheral_local(void)
288291 /* Receive notification of sampled CTE response */
289292 ut_rx_pdu (LL_CTE_RSP , & ntf , & remote_cte_rsp );
290293
294+ /* The RX queue should be empty now */
295+ ut_rx_q_is_empty ();
296+
297+ /* Release Ntf */
298+ ull_cp_release_ntf (ntf );
299+
291300 /* Release tx node */
292301 ull_cp_release_tx (& conn , tx );
293302
294- /* There should not be a host notifications */
295- ut_rx_q_is_empty ();
296-
297303 zassert_equal (ctx_buffers_free (), test_ctx_buffers_cnt (),
298304 "Free CTX buffers %d" , ctx_buffers_free ());
299305}
@@ -504,9 +510,12 @@ void test_cte_req_rejected_inv_ll_param_central_local(void)
504510 /* Receive notification of sampled CTE response */
505511 ut_rx_pdu (LL_REJECT_EXT_IND , & ntf , & remote_reject_ext_ind );
506512
507- /* There should not be a host notifications */
513+ /* The RX queue should be empty now */
508514 ut_rx_q_is_empty ();
509515
516+ /* Release Ntf */
517+ ull_cp_release_ntf (ntf );
518+
510519 /* Release tx node */
511520 ull_cp_release_tx (& conn , tx );
512521
@@ -580,12 +589,15 @@ void test_cte_req_rejected_inv_ll_param_peripheral_local(void)
580589 /* Receive notification of sampled CTE response */
581590 ut_rx_pdu (LL_REJECT_EXT_IND , & ntf , & remote_reject_ext_ind );
582591
592+ /* The RX queue should be empty now */
593+ ut_rx_q_is_empty ();
594+
595+ /* Release Ntf */
596+ ull_cp_release_ntf (ntf );
597+
583598 /* Release tx node */
584599 ull_cp_release_tx (& conn , tx );
585600
586- /* There should not be a host notifications */
587- ut_rx_q_is_empty ();
588-
589601 zassert_equal (ctx_buffers_free (), test_ctx_buffers_cnt (),
590602 "Free CTX buffers %d" , ctx_buffers_free ());
591603}
@@ -934,9 +946,12 @@ static void run_local_cte_req(struct pdu_data_llctrl_cte_req *cte_req)
934946 /* Receive notification of sampled CTE response */
935947 ut_rx_pdu (LL_CTE_RSP , & ntf , & remote_cte_rsp );
936948
937- /* There should not be a host notifications */
949+ /* The RX queue should be empty now */
938950 ut_rx_q_is_empty ();
939951
952+ /* Release Ntf */
953+ ull_cp_release_ntf (ntf );
954+
940955 /* Release tx node */
941956 ull_cp_release_tx (& conn , tx );
942957}
@@ -1014,7 +1029,7 @@ void check_phy_update_and_cte_req_complete(bool is_local, struct pdu_data_llctrl
10141029 ull_cp_release_tx (& conn , tx );
10151030 }
10161031
1017- /* There should not be a host notifications */
1032+ /* The RX queue should be empty now */
10181033 ut_rx_q_is_empty ();
10191034
10201035 check_current_phy_state (& conn , phy_req -> tx_phys , PREFER_S2_CODING , phy_req -> tx_phys );
0 commit comments