]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add clarifying comment to command status handling
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 2 Apr 2015 10:41:07 +0000 (13:41 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 2 Apr 2015 14:09:27 +0000 (16:09 +0200)
commit7aba5d03e7687a7c08eab3b764d64f8e4c8f84be
treedc665d1e9ac8a254f96553cf70985b564b3cad0d
parente727382b151a2399feb4e71bc4b3a835bad2a298
Bluetooth: Add clarifying comment to command status handling

When dealing with HCI command status events, the reasoning for trying to
mark a request as complete if no specific event is being waited for and
status was success is not self-evident. This patch adds a clarifying
comment above the if-statement.

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