For dual mode devices we need to pass address type used in pairing
events to reply with correct one on agent reply. Otherwise reply for
BR/EDR pairing of dual mode device would use address type (which is
valid only for LE address) resulting in reply being ignored by kernel
and eventually pairing timeout.
49707d7...
by
Maxime Chevallier <email address hidden>
profiles/network: Check for any server when accepting connections
When asking confirmation to accept an incoming connection,
we now only check for any network_server to be registered to
the adapter.
This fixes GN Master role, that wouldn't accept any connection
before.
0ee2d33...
by
Luiz Augusto von Dentz <email address hidden>
policy: Fix not reseting attempts when disconnected
If the link is disconnected before any profile connects it shall still
reset the attempts as the device actually has been connected, otherwise
the number of attempts may not be respected.
ccd2984...
by
Luiz Augusto von Dentz <email address hidden>
core/profile: Fix calling service_accept
service_accept shall only be used with profiles that implement .accept
callback, to set connecting state directly use service_set_connecting
which does not require .accept to be implemented.