summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
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;