]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
Bluetooth: Remove unnecessary 'send' parameter from smp_failure()
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 6 Nov 2013 09:24:57 +0000 (11:24 +0200)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 4 Dec 2013 13:09:04 +0000 (11:09 -0200)
commit84794e119a22f67f2cac3f0ae958f2d69c46fa1e
tree0786f00eb3f0a2929b1af9a7f39621891b9456d1
parent4ebbd5357531694b9243b176674ae27edf5bd8e1
Bluetooth: Remove unnecessary 'send' parameter from smp_failure()

The send parameter has only been used for determining whether to send a
Pairing Failed PDU or not. However, the function can equally well use
the already existing reason parameter to make this choice and send the
PDU whenever a non-zero value was passed.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/smp.c