Allow bonding during periodic inquiry

This commit is contained in:
Marcel Holtmann 2008-07-11 06:15:23 +00:00
parent 14f84d602a
commit 04b57ca4d5

View File

@ -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);