Fix SDP discovery cancelling when clearing hs->pending

This patch adds checks to make sure we always call bt_cancel_discovery in
pending_connect_finalize if an SDP discovery is in progress.
1 file changed