From: Jakub Pawlowski Date: Fri, 7 Aug 2015 18:22:54 +0000 (+0200) Subject: Bluetooth: advertisement handling in new connect procedure X-Git-Tag: omap-for-v4.3/fixes-rc1~110^2~149^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28a667c9c279df5a6467842ee2b3b73ddf874732;p=pandora-kernel.git Bluetooth: advertisement handling in new connect procedure Currently, when trying to connect to already paired device that just rotated its RPA MAC address, old address would be used and connection would fail. In order to fix that, kernel must scan and receive advertisement with fresh RPA before connecting. This path makes sure that after advertisement is received from device that we try to connect to, it is properly handled in check_pending_le_conn and trigger connect attempt. It also modifies hci_le_connect to make sure that connect attempt will be properly continued. Signed-off-by: Jakub Pawlowski Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed