mirror of
https://github.com/RangeNetworks/openbts.git
synced 2025-11-02 12:53:15 +00:00
r4436 in private:
Change the order in which RRLP messages are sent. Request, then provide assistance (if needed), then request. git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4463 19bc5d8c-e614-43d4-8b26-e1612bc8e597
This commit is contained in:
@@ -277,13 +277,18 @@ bool sendRRLP(GSM::L3MobileIdentity mobileID, GSM::LogicalChannel *LCH)
|
||||
{
|
||||
// Query for RRLP
|
||||
RRLPServer wRRLPServer(mobileID, LCH);
|
||||
if (!wRRLPServer.assist()) {
|
||||
LOG(INFO) << "assist problem";
|
||||
}
|
||||
// can still try to check location even if assist didn't work
|
||||
if (!wRRLPServer.locate()) {
|
||||
LOG(INFO) << "locate problem";
|
||||
return false;
|
||||
if (!wRRLPServer.assist()) {
|
||||
LOG(INFO) << "assist problem";
|
||||
// Failure of assist will almost invariably lead to failure in locate.
|
||||
// Don't even try. It causes too much confusion.
|
||||
return false;
|
||||
}
|
||||
if (!wRRLPServer.locate()) {
|
||||
LOG(INFO) << "locate problem";
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user