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)
commit444c6dd54d81edf81c606f571cb52eff4d47fa99
treedc665d1e9ac8a254f96553cf70985b564b3cad0d
parent64dd374eac154f747623b256c59ecaf5affba724
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