subscr: Stop all paging requests if one is failing.
commitffccb77df0b60574fb4c348793cb4ecdda5ebc94
authorHolger Hans Peter Freyther <zecke@selfish.org>
Tue, 28 Dec 2010 16:47:43 +0000 (28 17:47 +0100)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Thu, 6 Jan 2011 13:52:52 +0000 (6 14:52 +0100)
tree2328653f51198e90cccbf3635befd544506fabd5
parentf72b3d51fc2843156b47fce2edb772549c05d324
subscr: Stop all paging requests if one is failing.

If one paging request is timing out the others will timeout soon
as well. With the current code the next timeout would expire the
next request in the queue. We will now stop all paging requests
and then issue a next paging request. So for both paging success
and failure we will now stop all the other requests.

This is mostly a workaround, one should count on how many
BTSes we are paging and wait for all failures before we remove
the item from the queue.
openbsc/src/gsm_subscriber.c
openbsc/tests/channel/channel_test.c