From: Johan Hedberg Date: Sat, 19 Oct 2013 20:38:16 +0000 (+0300) Subject: Bluetooth: Check for flag instead of features in update_adv_data() X-Git-Tag: v3.13-rc1~105^2~23^2^2~4^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10994ce6e6696d2fb5a14601302da9b680fc9cc9;p=pandora-kernel.git Bluetooth: Check for flag instead of features in update_adv_data() It's better to check for the device flag instead of device features so that we avoid unnecessary HCI commands when the feature is supported but disabled (i.e. the flag is unset). Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed