Bluetooth: CSIS: Remove BT_CSIS_ERROR_SIRK_ACCESS_REJECTED
Remove the error code BT_CSIS_ERROR_SIRK_ACCESS_REJECTED as it no longer exists in the specification. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
parent
170d094ca8
commit
e7ec241fe7
2 changed files with 3 additions and 4 deletions
|
@ -53,9 +53,8 @@ extern "C" {
|
|||
#define BT_CSIS_ERROR_LOCK_DENIED 0x80
|
||||
#define BT_CSIS_ERROR_LOCK_RELEASE_DENIED 0x81
|
||||
#define BT_CSIS_ERROR_LOCK_INVAL_VALUE 0x82
|
||||
#define BT_CSIS_ERROR_SIRK_ACCESS_REJECTED 0x83
|
||||
#define BT_CSIS_ERROR_SIRK_OOB_ONLY 0x84
|
||||
#define BT_CSIS_ERROR_LOCK_ALREADY_GRANTED 0x85
|
||||
#define BT_CSIS_ERROR_SIRK_OOB_ONLY 0x83
|
||||
#define BT_CSIS_ERROR_LOCK_ALREADY_GRANTED 0x84
|
||||
|
||||
#define BT_CSIS_RELEASE_VALUE 0x01
|
||||
#define BT_CSIS_LOCK_VALUE 0x02
|
||||
|
|
|
@ -327,7 +327,7 @@ static ssize_t read_set_sirk(struct bt_conn *conn,
|
|||
BT_HEXDUMP_DBG(enc_sirk.value, sizeof(enc_sirk.value),
|
||||
"Encrypted Set SIRK");
|
||||
} else if (cb_rsp == BT_CSIS_READ_SIRK_REQ_RSP_REJECT) {
|
||||
return BT_GATT_ERR(BT_CSIS_ERROR_SIRK_ACCESS_REJECTED);
|
||||
return BT_GATT_ERR(BT_ATT_ERR_AUTHORIZATION);
|
||||
} else if (cb_rsp == BT_CSIS_READ_SIRK_REQ_RSP_OOB_ONLY) {
|
||||
return BT_GATT_ERR(BT_CSIS_ERROR_SIRK_OOB_ONLY);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue