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)
commit7cc2ade2cbc6f71090f0f8d0e11cb68886ddc65e
tree7ba106e3e172853d1bcc7af8c60a6c1c9766b1c7
parent3a208627f3ac83d3b749608770f7eb631db31a77
Bluetooth: Simplify HCI socket bind handling

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>
net/bluetooth/hci_sock.c
This page took 0.052175 seconds and 5 git commands to generate.