mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-29 15:14:31 +08:00
Allow bonding during periodic inquiry
This commit is contained in:
parent
14f84d602a
commit
04b57ca4d5
@ -2792,7 +2792,7 @@ static DBusMessage *create_bonding(DBusConnection *conn, DBusMessage *msg,
|
|||||||
str2ba(address, &bdaddr);
|
str2ba(address, &bdaddr);
|
||||||
|
|
||||||
/* check if there is a pending discover: requested by D-Bus/non clients */
|
/* check if there is a pending discover: requested by D-Bus/non clients */
|
||||||
if (adapter->discov_active || (adapter->pdiscov_active && !adapter->pinq_idle))
|
if (adapter->discov_active)
|
||||||
return in_progress(msg, "Discover in progress");
|
return in_progress(msg, "Discover in progress");
|
||||||
|
|
||||||
pending_remote_name_cancel(adapter);
|
pending_remote_name_cancel(adapter);
|
||||||
|
Loading…
Reference in New Issue
Block a user