Bluetooth: mgmt_stop_discovery_failed()
authorAndre Guedes <andre.guedes@openbossa.org>
Wed, 9 Nov 2011 20:14:26 +0000 (17:14 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 16 Nov 2011 17:40:30 +0000 (15:40 -0200)
This patches creates mgmt_stop_discovery_failed() which removes
pending MGMT_OP_STOP_DISCOVERY commands and sends proper command
status events.

This patch also fixes the MGMT_OP_STOP_DISCOVERY command leak in
case cancel inquiry fails.

Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>

No differences found