From: Andre Guedes Date: Wed, 9 Nov 2011 20:14:26 +0000 (-0300) Subject: Bluetooth: mgmt_stop_discovery_failed() X-Git-Tag: v3.3-rc1~182^2~261^2~38^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6d465cb482935c26cb4065a6ab9ce987c067da3;p=pandora-kernel.git Bluetooth: mgmt_stop_discovery_failed() 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 Acked-by: Marcel Holtmann Signed-off-by: Gustavo F. Padovan --- Reading git-diff-tree failed