summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2020-09-15 10:45:06 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2020-09-15 11:04:18 -0700
commit7f4bdf382062728c383678e13cb0128282f91b71 (patch)
treed856bf5012d82830bf46beadf8d5f1f82ad055f8 /plugins
parent48d8f08a54003c1526cb614d00a16c08b6471aef (diff)
downloadbluez-7f4bdf382062728c383678e13cb0128282f91b71.tar.gz
adapter: Add btd_ prefix to has_kernel_feature
APIs exposed to plugins shall have btd_ prefix.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/policy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/policy.c b/plugins/policy.c
index 655842942..3ce6f1deb 100644
--- a/plugins/policy.c
+++ b/plugins/policy.c
@@ -782,7 +782,7 @@ static void disconnect_cb(struct btd_device *dev, uint8_t reason)
* preferable to set the reconnect timer there as it is
* a more predictable delay.
*/
- if (!has_kernel_features(KERNEL_HAS_RESUME_EVT))
+ if (!btd_has_kernel_features(KERNEL_HAS_RESUME_EVT))
reconnect_set_timer(reconnect, resume_delay);
}
break;