]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add clarifying comment to bt_sock_wait_state()
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 25 Sep 2013 10:26:04 +0000 (13:26 +0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 25 Sep 2013 17:30:10 +0000 (14:30 -0300)
commit8667b59f7d7d188219f23d3421d56b5cc2f34c50
tree8d320b7011c98ecde8b042e515a9d15bd1246850
parentdd9a01e897dcdf5e6f63b3167458fd1cbe9a9a93
Bluetooth: Add clarifying comment to bt_sock_wait_state()

The bt_sock_wait_state requires the sk lock to be held (through
lock_sock) so document it clearly in the code.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/af_bluetooth.c