-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bluetooth: Controller: Remove assign to terminate_ack #59612
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the definition too from ull_conn_types.h
Assignment to conn->central.terminate_ack is not accessible after 2ada005. Remove dead code. Signed-off-by: Mateusz Kusiak <[email protected]>
32dbc0c
to
9da52f1
Compare
#if defined(CONFIG_BT_CENTRAL) | ||
struct { | ||
#if defined(CONFIG_BT_CTLR_CONN_META) | ||
uint8_t is_must_expire:1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mtpr-ot can this be removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we would need to remove the full "must-expire" feature first, as there are dependencies in ULL. It's used for calculating the latency.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know to what extent the feature is used by other uses/vendors, but we're not using it anymore. However, the MUST_EXPIRE feature ties into the current ticker implementation, so it may be a larger overhaul to safely remove.
This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time. |
Assignment to conn->central.terminate_ack is not accessible after 2ada005.
Remove dead code.
Fixes #58971