Bluetooth: Report proper error number in disconnection
authorGustavo Padovan <gustavo@padovan.org>
Wed, 16 May 2012 15:17:12 +0000 (12:17 -0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 16 May 2012 19:14:24 +0000 (16:14 -0300)
commitd839c81372d1f0caee47f87b26a68e91d4ff3847
tree6b5ce2497f0cdab872f7cfb770481e8467fafa41
parentc5daa683f2d3315cd766f550ef7d88bfca1671f4
Bluetooth: Report proper error number in disconnection

If encryption change fails we should disconnect with auth failure error
code.

Signed-off-by: Gustavo Padovan <gustavo@padovan.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_event.c