Message ID | 20240827081333.55914-1-xiaokeqinhealth@126.com |
---|---|
State | New |
Headers | show |
Series | [1/1] Bluetooth: mgmt: Fix LTK load error in SMP over BREDR scenario | expand |
diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c index 25979f4283a6..13bba6ad5d95 100644 --- a/net/bluetooth/mgmt.c +++ b/net/bluetooth/mgmt.c @@ -7106,6 +7106,9 @@ static bool ltk_is_valid(struct mgmt_ltk_info *key) return false; switch (key->addr.type) { + case BDADDR_BREDR: + /* ltk over bredr */ + return true; case BDADDR_LE_PUBLIC: return true;