commit | 9d4b68b23947e7bdf3f2707e76bd61572c523f6c | [log] [tgz] |
---|---|---|
author | Marcel Holtmann <marcel@holtmann.org> | Mon Aug 26 00:20:37 2013 -0700 |
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | Mon Sep 16 14:35:54 2013 -0300 |
tree | 5a41ecc403ea5f0c02a0dad77c94d3b3a2db4997 | |
parent | 06f43cbc4d61922d5a14c28909f02ae9c7fc5283 [diff] |
Bluetooth: Fix handling of getsockname() for HCI sockets The hci_dev check is not protected and so move it into the socket lock. In addition return the HCI channel identifier instead of always 0 channel. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>