Bluetooth: controller: Use common mem_link_rx for node_rx_iq_report
Change use of dedicated memory pool for linked list nodes for node_rx_iq_report to common mem_link_rx. Former solution had a drawback. Released link nodes may be enqueued to wrong memory pool. E.g. link related with nopde_rx_iq_report went to common link memory pool, whereas link nodes from common pool were enqueued to dedicated list. The solution was working because links have the same memory layout, just different memory pools they originated from. The problem may occur if one of those link memory pools is reset. Then the same link may be used by node_rx and node_rx_iq_report at the same time, causing controller failure. Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
This commit is contained in:
parent
6c76b70af6
commit
7cdbeb541a
6 changed files with 62 additions and 77 deletions
|
@ -49,7 +49,8 @@
|
|||
#include "ll_sw/ull_conn_types.h"
|
||||
#include "ll_sw/ull_conn_internal.h"
|
||||
#include "ll_sw/ull_conn_iso_types.h"
|
||||
#include "ll_sw/ull_df.h"
|
||||
#include "ll_sw/ull_df_types.h"
|
||||
#include "ll_sw/ull_df_internal.h"
|
||||
|
||||
#include "ll.h"
|
||||
#include "ll_feat.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue