From: Johan Hedberg Date: Thu, 3 Jul 2014 16:33:50 +0000 (+0300) Subject: Bluetooth: Remove unnecessary checks for auto-connected devices X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~73^2~87^2~78 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb5ce4d018f896403d7a394ec56a550e7890b563;p=pandora-kernel.git Bluetooth: Remove unnecessary checks for auto-connected devices If a device is in the pend_le_conns list it cannot at the same time also have the need to be notified through mgmt_device_found. By making check_pending_le_conn return whether it found an entry or not we can avoid unnecessary checks in process_adv_report(). Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed