From: Johan Hedberg Date: Mon, 27 Feb 2012 23:07:22 +0000 (+0200) Subject: Bluetooth: Remove redundant read_host_features commands X-Git-Tag: v3.4-rc1~177^2~112^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f984dfaf0bfa1355548cfba00473c8fa8e22d6e;p=pandora-kernel.git Bluetooth: Remove redundant read_host_features commands Previously the write_le_enable would trigger a read_host_features command but since we have access to the value LE support was set to we can simply just clear or set the bit in hdev->host_features. This also removes a second unnecessary read_host_features command from the device initialization procedure since LE is only enabled after the first read_host_features command completes. Signed-off-by: Johan Hedberg Acked-by: Marcel Holtmann --- Reading git-diff-tree failed