Bluetooth: Simplify remote features callback function logic
authorJohan Hedberg <johan.hedberg@nokia.com>
Wed, 10 Nov 2010 15:11:51 +0000 (17:11 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 1 Dec 2010 23:04:35 +0000 (21:04 -0200)
commitccd556fe334914bf2e465eb5bc480d49cd4406d7
treeafff0c055f4e3b412d9234ed3c6dd971a77e479d
parent17f490bcedd7b6677140b2d49efe9e9e6b84de60
Bluetooth: Simplify remote features callback function logic

The current remote and remote extended features event callbacks logic
can be made simpler by using a label and goto statements instead of the
current multiple levels of nested if statements.

Signed-off-by: Johan Hedberg <johan.hedberg@nokia.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/hci_event.c