Fixed the compilation issue due to redeclaration after disabling ble_sm_feature

This commit is contained in:
Roshan Bangar
2024-03-12 16:07:19 +05:30
committed by Abhinav Kudnar
parent 66b301dbcd
commit b3c550b13b
2 changed files with 2 additions and 2 deletions
+2 -1
View File
@@ -589,8 +589,9 @@ ble_gatts_calculate_hash(uint8_t *out_hash_key)
int size;
int rc;
uint8_t *buf;
uint8_t key[16] = {0};
uint8_t key[16];
memset(key, 0, sizeof(key));
/* data with all zeroes */
rc = ble_att_get_database_size(&size);
if(rc != 0) {
-1
View File
@@ -433,7 +433,6 @@ int ble_sm_init(void);
struct ble_l2cap_chan *ble_sm_create_chan(uint16_t handle);
void *ble_sm_cmd_get(uint8_t opcode, size_t len, struct os_mbuf **txom);
int ble_sm_tx(uint16_t conn_handle, struct os_mbuf *txom);
int ble_sm_alg_aes_cmac(const uint8_t *key, const uint8_t *in, size_t len, uint8_t *out);
#ifdef __cplusplus