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)
commit0fba96f97bba73469dd952319fddc4a3cc99dd97
tree8d320b7011c98ecde8b042e515a9d15bd1246850
parent941247f910953d6b0649c81f6cb446110438afae
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