diff --git a/dom/system/gonk/ril_worker.js b/dom/system/gonk/ril_worker.js index e24466f2e906..0fe1831a629b 100644 --- a/dom/system/gonk/ril_worker.js +++ b/dom/system/gonk/ril_worker.js @@ -3126,6 +3126,14 @@ RilObject.prototype = { GsmPDUHelper.writeHexOctet(size / 4); }); + // Event List + if (options.eventList != null) { + GsmPDUHelper.writeHexOctet(COMPREHENSIONTLV_TAG_EVENT_LIST | + COMPREHENSIONTLV_FLAG_CR); + GsmPDUHelper.writeHexOctet(1); + GsmPDUHelper.writeHexOctet(options.eventList); + } + // Device Identifies GsmPDUHelper.writeHexOctet(COMPREHENSIONTLV_TAG_DEVICE_ID | COMPREHENSIONTLV_FLAG_CR); @@ -3149,14 +3157,6 @@ RilObject.prototype = { // Help Request doesn't have value } - // Event List - if (options.eventList != null) { - GsmPDUHelper.writeHexOctet(COMPREHENSIONTLV_TAG_EVENT_LIST | - COMPREHENSIONTLV_FLAG_CR); - GsmPDUHelper.writeHexOctet(1); - GsmPDUHelper.writeHexOctet(options.eventList); - } - // Location Status if (options.locationStatus != null) { let len = options.locationStatus.length;