From 36bdc6c50293eb65454e7fbe61ed57f56937dc58 Mon Sep 17 00:00:00 2001 From: Mark Wang Date: Tue, 20 May 2025 21:36:32 +0800 Subject: [PATCH] bluetooth: pairing_accept's feat parameter is NULL in BR/EDR SSP case Add description in the callback definition. Signed-off-by: Mark Wang --- include/zephyr/bluetooth/conn.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/zephyr/bluetooth/conn.h b/include/zephyr/bluetooth/conn.h index 82f6a8d2770..8bc060bb05b 100644 --- a/include/zephyr/bluetooth/conn.h +++ b/include/zephyr/bluetooth/conn.h @@ -2263,10 +2263,11 @@ struct bt_conn_auth_cb { * as if the Kconfig flag was not set. * * For BR/EDR Secure Simple Pairing (SSP), this callback is called - * when receiving the BT_HCI_EVT_IO_CAPA_REQ hci event. + * when receiving the BT_HCI_EVT_IO_CAPA_REQ hci event. The feat is + * NULL here. * * @param conn Connection where pairing is initiated. - * @param feat Pairing req/resp info. + * @param feat Pairing req/resp info. It is NULL in BR/EDR SSP. */ enum bt_security_err (*pairing_accept)(struct bt_conn *conn, const struct bt_conn_pairing_feat *const feat);