From: Marcel Holtmann Date: Wed, 8 Apr 2015 16:05:27 +0000 (-0700) Subject: Bluetooth: Read LE remote features during connection establishment X-Git-Tag: omap-for-v4.1/fixes-rc1~141^2~34^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fe29fd1cd77ffbdb8e36ec1715868d9d8011c9b;p=pandora-kernel.git Bluetooth: Read LE remote features during connection establishment When establishing a Bluetooth LE connection, read the remote used features mask to determine which features are supported. This was not really needed with Bluetooth 4.0, but since Bluetooth 4.1 and also 4.2 have introduced new optional features, this becomes more important. This works the same as with BR/EDR where the connection enters the BT_CONFIG stage and hci_connect_cfm call is delayed until the remote features have been retrieved. Only after successfully receiving the remote features, the connection enters the BT_CONNECTED state. Signed-off-by: Marcel Holtmann Signed-off-by: Johan Hedberg --- Reading git-diff-tree failed