diff options
author | Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com> | 2022-09-16 12:31:03 +0300 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2022-09-19 11:44:18 -0500 |
commit | 918f8c1c88b2fe970f1574acbb238c829dcdd64b (patch) | |
tree | cb80a407685a17703f0123024d23a0e6927fff57 /AUTHORS | |
parent | bd691e1a02fe5ad756987ad427df618acbbae70b (diff) | |
download | ofono-918f8c1c88b2fe970f1574acbb238c829dcdd64b.tar.gz |
qmimodem: Fix shared service creation logic
qmi_service_create_shared() tries to find already created service of the
same type and if it fails to find one, start a creation of a new service.
This creation takes some time, so if while it is not complete, any new
calls to qmi_service_create_shared() will still fail to find a service of
that type and will start creation. This can easily lead to client ids
exhaustion and service creation failures.
Fix that by adding logic that delays responses to any shared service
creation requests after the first one, until that request either fails or
succeeds.
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions