summaryrefslogtreecommitdiffstats
path: root/src/bluetooth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bluetooth.c')
-rw-r--r--src/bluetooth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bluetooth.c b/src/bluetooth.c
index 22957c7f..00639d2d 100644
--- a/src/bluetooth.c
+++ b/src/bluetooth.c
@@ -121,7 +121,7 @@ int bt_error(uint16_t code)
return EHOSTDOWN;
case HCI_AUTHENTICATION_FAILURE:
return EACCES;
- case HCI_KEY_MISSING:
+ case HCI_PIN_OR_KEY_MISSING:
return EINVAL;
case HCI_MEMORY_FULL:
return ENOMEM;