Bluetooth: Remove link type check in hci_disconn_complete_evt()
authorAndre Guedes <andre.guedes@openbossa.org>
Wed, 30 Oct 2013 22:01:42 +0000 (19:01 -0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 4 Dec 2013 13:09:04 +0000 (11:09 -0200)
commit4ebbd5357531694b9243b176674ae27edf5bd8e1
tree08b66dc0696cbf9e7a7211cd59ba9fa7c218b79b
parent57eb776feac497c8e5b561c0a24156245f0c08db
Bluetooth: Remove link type check in hci_disconn_complete_evt()

We can safely remove the link type check from hci_disconn_complete_
evt() since this check in not required for mgmt_disconnect_failed()
and mgmt_device_disconnected() does it internally.

Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_event.c