diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2013-10-19 23:38:16 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2013-10-20 09:05:40 -0700 |
commit | 10994ce6e6696d2fb5a14601302da9b680fc9cc9 (patch) | |
tree | 6efd1a98ae1b2244d9619cef57207cac75073070 /arch | |
parent | 7751ef1b3184ecfaebc5e5a8981407814ce0be0b (diff) | |
download | linux-10994ce6e6696d2fb5a14601302da9b680fc9cc9.tar.gz linux-10994ce6e6696d2fb5a14601302da9b680fc9cc9.tar.bz2 linux-10994ce6e6696d2fb5a14601302da9b680fc9cc9.zip |
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 <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions