aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_request.c
diff options
context:
space:
mode:
authorSonny Sasaka <[email protected]>2020-08-14 19:09:09 +0000
committerMarcel Holtmann <[email protected]>2020-09-20 06:21:14 +0000
commita46b7ed4d52d09bd6c7ab53b2217d04fc2f02c65 (patch)
treed0393371e7624766a900b8bef029bb284145c8c8 /net/bluetooth/hci_request.c
parentBluetooth: btusb: Enable wide band speech support for BTUSB_QCA_ROME (diff)
downloadkernel-a46b7ed4d52d09bd6c7ab53b2217d04fc2f02c65.tar.gz
kernel-a46b7ed4d52d09bd6c7ab53b2217d04fc2f02c65.zip
Bluetooth: Fix auto-creation of hci_conn at Conn Complete event
Currently the code auto-creates hci_conn only if the remote address has been discovered before. This may not be the case. For example, the remote device may trigger connection after reboot at already-paired state so there is no inquiry result found, but it is still correct to create the hci_conn when Connection Complete event is received. A better guard is to check against bredr allowlist. Devices in the allowlist have been given permission to auto-connect. Fixes: 4f40afc6c764 ("Bluetooth: Handle BR/EDR devices during suspend") Signed-off-by: Sonny Sasaka <[email protected]> Reviewed-by: Abhishek Pandit-Subedi <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'net/bluetooth/hci_request.c')
0 files changed, 0 insertions, 0 deletions