aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <[email protected]>2025-07-02 15:53:40 +0000
committerLuiz Augusto von Dentz <[email protected]>2025-07-16 19:33:50 +0000
commit6ef99c917688a8510259e565bd1b168b7146295a (patch)
tree1d0b53adf75594f98c2833451c48b511532da6eb /lib/crypto/mpi/mpi-cmp.c
parentBluetooth: SMP: If an unallowed command is received consider it a failure (diff)
downloadkernel-6ef99c917688a8510259e565bd1b168b7146295a.tar.gz
kernel-6ef99c917688a8510259e565bd1b168b7146295a.zip
Bluetooth: SMP: Fix using HCI_ERROR_REMOTE_USER_TERM on timeout
This replaces the usage of HCI_ERROR_REMOTE_USER_TERM, which as the name suggest is to indicate a regular disconnection initiated by an user, with HCI_ERROR_AUTH_FAILURE to indicate the session has timeout thus any pairing shall be considered as failed. Fixes: 1e91c29eb60c ("Bluetooth: Use hci_disconnect for immediate disconnection from SMP") Signed-off-by: Luiz Augusto von Dentz <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions