andrzej-kaczmarek commented on code in PR #1473:
URL: https://github.com/apache/mynewt-nimble/pull/1473#discussion_r1123876976
##########
nimble/host/store/config/src/ble_store_config.c:
##########
@@ -101,16 +101,6 @@ ble_store_config_find_sec(const struct ble_store_key_sec
*key_sec,
}
}
- if (key_sec->ediv_rand_present) {
- if (cur->ediv != key_sec->ediv) {
- continue;
- }
-
- if (cur->rand_num != key_sec->rand_num) {
- continue;
- }
- }
-
if (key_sec->idx > skipped) {
Review Comment:
this is also not needed since we can have only one set of keys for device
(unlike cccd)
also remove all unused members from ble_store_key_sec structure (everything
except peer_addr)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]