Bug 794767 - B2G RIL: Handle data call error without APN name. r=vicamo

This commit is contained in:
Shian-Yow Wu 2012-10-02 18:48:00 +08:00
parent 3d3703a920
commit d613ab3419

View File

@ -3121,7 +3121,9 @@ let RIL = {
// can be removed if is the same as the current one.
for each (let newDataCall in datacalls) {
if (newDataCall.status != DATACALL_FAIL_NONE) {
newDataCall.apn = newDataCallOptions.apn;
if (newDataCallOptions) {
newDataCall.apn = newDataCallOptions.apn;
}
this._sendDataCallError(newDataCall, newDataCall.status);
}
}