From: Johan Hedberg Date: Wed, 4 Jan 2012 12:23:45 +0000 (+0200) Subject: Bluetooth: Add discovery state tracking X-Git-Tag: v3.4-rc1~177^2~112^2~268 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff9ef5787046c3fd20cf9f7ca1cd70260c1eedb9;p=pandora-kernel.git Bluetooth: Add discovery state tracking This patch adds proper state tracking to the device discovery process. This makes it possible to return appropriate errors when trying to stop a non-active discovery or start discovery when it is already ongoing. Once name resolving is implemented this also makes it possible to know what the right action to do is when a remote name lookup is cancelled. Signed-off-by: Johan Hedberg Acked-by: Marcel Holtmann --- Reading git-diff-tree failed