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:
Kurtis Heimerl
2012-11-11 10:31:05 +00:00
parent c7c4b4ae47
commit 94c045b1b3

View File

@@ -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;
}