commit | 78fe76156b1126b474d6432d772fb35b07c48873 | [log] [tgz] |
---|---|---|
author | Emil Gydesen <emil.gydesen@nordicsemi.no> | Fri Mar 25 13:50:48 2022 +0100 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Wed Mar 30 11:32:08 2022 +0200 |
tree | 5654343d5081a9140db6e81e5bc0af7745dd5992 | |
parent | 43213a16a88fdf5031fac4f719d747b180ed9fec [diff] |
Bluetooth: Host: Add `const` to `bt_conn_index` The `bt_conn_index` simply returns the index of a `bt_conn` struct. There is no reason why such a function should not use `const`. Not using `const` will make other lookup/index functions that perhaps relies on the bt_conn index unable to use `const` as well. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>