Bluetooth: Simplify HCI socket bind handling
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 20 Feb 2012 13:50:35 +0000 (14:50 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 20 Feb 2012 13:58:59 +0000 (15:58 +0200)
The HCI socket bind handling checks a few too many times the channel
we are binding. So centralize this and make the function easier to read.

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

No differences found