From: Andre Guedes Date: Mon, 13 Feb 2012 18:41:01 +0000 (-0300) Subject: Bluetooth: Fix discovery state machine X-Git-Tag: v3.4-rc1~177^2~112^2~150 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=203159d486006a18fa1ccf787a10d15d3128cdac;p=pandora-kernel.git Bluetooth: Fix discovery state machine In case of Start Discovery command failure, we should set the discovery state to DISCOVERY_STOPPED. Otherwise, we stuck at DISCOVERY_STARTING state and subsequent Start Discovery commands will simply fail. Signed-off-by: Andre Guedes Acked-by: Marcel Holtmann Signed-off-by: Johan Hedberg --- Reading git-diff-tree failed