aboutsummaryrefslogtreecommitdiff
path: root/test/lsudev.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2019-07-21 22:17:48 +0200
committerAleksander Morgado <aleksander@aleksander.es>2019-07-22 20:39:20 +0200
commitd7696d8ec1ae33cc202fc112949f487ec7002111 (patch)
tree00d8716cc7e7f9be91ec928f1e787b2f5ad182ff /test/lsudev.c
parentf1dcc71e7126ffbf00356c76257e578401f517be (diff)
iface-modem: don't assume that setting modes is immediate
The modem may take the request to set modes and reply right away with a success before actually changing the current modes in use. Therefore, If we reload modes right after we receive the set response, we may still see the old modes instead of the new ones. Try to avoid this, by reloading current modes a couple of times after we have set them if they are not yet the expected ones.
Diffstat (limited to 'test/lsudev.c')
0 files changed, 0 insertions, 0 deletions