From: Hemant Gupta Date: Thu, 5 Apr 2012 04:57:21 +0000 (+0530) Subject: Bluetooth: Fix clearing discovery type when stopping discovery X-Git-Tag: v3.5-rc1~101^2~6^2^2^2~72 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b24c62471c276b7ac6105e832eb6fe3c41a654ef;p=pandora-kernel.git Bluetooth: Fix clearing discovery type when stopping discovery This patch prevents resetting of discovery type while stopping discovery, since otherwise the wrong type might be send in case of discovery failure. It also doesn't matter that we are "lazy" with updating the type since it is anyway reset when starting discovery again and it's not needed to know the current discovery state. Signed-off-by: Hemant Gupta Signed-off-by: Johan Hedberg --- Reading git-diff-tree failed