Bluetooth: Remove not needed BT_KEYS_BR_LEGACY flag
We map legacy and SSP link keys to equivalent security levels so there is no need for storing if key is legacy. This flag was never used anyway. Change-Id: I6867f43a1ed132f67a564de34436cf83b922a138 Signed-off-by: Szymon Janc <ext.szymon.janc@tieto.com>
This commit is contained in:
parent
89228d890c
commit
553a78b4f5
2 changed files with 0 additions and 2 deletions
|
@ -1203,7 +1203,6 @@ static void link_key_notify(struct net_buf *buf)
|
||||||
|
|
||||||
switch (evt->key_type) {
|
switch (evt->key_type) {
|
||||||
case BT_LK_COMBINATION:
|
case BT_LK_COMBINATION:
|
||||||
atomic_set_bit(conn->keys->flags, BT_KEYS_BR_LEGACY);
|
|
||||||
/*
|
/*
|
||||||
* Setting Combination Link Key as AUTHENTICATED means it was
|
* Setting Combination Link Key as AUTHENTICATED means it was
|
||||||
* successfully generated by 16 digits wide PIN code.
|
* successfully generated by 16 digits wide PIN code.
|
||||||
|
|
|
@ -34,7 +34,6 @@ enum {
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
BT_KEYS_AUTHENTICATED,
|
BT_KEYS_AUTHENTICATED,
|
||||||
BT_KEYS_BR_LEGACY,
|
|
||||||
BT_KEYS_DEBUG,
|
BT_KEYS_DEBUG,
|
||||||
|
|
||||||
/* Total number of flags - must be at the end of the enum */
|
/* Total number of flags - must be at the end of the enum */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue