summaryrefslogtreecommitdiffstats
path: root/stack/btm
diff options
context:
space:
mode:
Diffstat (limited to 'stack/btm')
-rwxr-xr-x[-rw-r--r--]stack/btm/btm_sec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stack/btm/btm_sec.c b/stack/btm/btm_sec.c
index bdf7f95..a845acc 100644..100755
--- a/stack/btm/btm_sec.c
+++ b/stack/btm/btm_sec.c
@@ -4358,7 +4358,7 @@ void btm_sec_disconnected (UINT16 handle, UINT8 reason)
result = HCI_ERR_HOST_REJECT_SECURITY;
}
(*btm_cb.api.p_auth_complete_callback) (p_dev_rec->bd_addr, p_dev_rec->dev_class,
- p_dev_rec->sec_bd_name, reason);
+ p_dev_rec->sec_bd_name, result);
}
}