Closed Bug 777284 Opened 13 years ago Closed 13 years ago

B2G 3G: Sometimes toggling off data call failed

Categories

(Core :: DOM: Device Interfaces, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla17
blocking-kilimanjaro ?
blocking-basecamp +

People

(Reporter: swu, Unassigned)

References

Details

Attachments

(2 files)

This happens on Otoro phone, I didn't test on other devices. Sometimes toggling off data call failed. When it happens, the rmnet0 interface still showing up.
Blocks: b2g-3g
blocking-basecamp: --- → ?
blocking-kilimanjaro: --- → ?
Please, could you also attach the output of |adb shell netcfg| command after toggling off the data call?
Yes, it's here. When this happens, options.cid was not passed to REQUEST_DEACTIVATE_DATA_CALL() in ril_work.js. root@android:/ # netcfg lo UP 127.0.0.1/8 0x00000049 00:00:00:00:00:00 rmnet0 UP 10.51.20.80/30 0x00000041 00:00:00:00:00:00 rmnet1 DOWN 0.0.0.0/0 0x00000000 00:00:00:00:00:00 rmnet2 DOWN 0.0.0.0/0 0x00000000 00:00:00:00:00:00 rmnet3 DOWN 0.0.0.0/0 0x00001002 a6:01:d1:a8:10:45 rmnet4 DOWN 0.0.0.0/0 0x00001002 36:98:92:54:5b:7e rmnet5 DOWN 0.0.0.0/0 0x00001002 ce:9a:eb:9f:6d:89 rmnet6 DOWN 0.0.0.0/0 0x00001002 9a:96:7c:2a:51:1e rmnet7 DOWN 0.0.0.0/0 0x00001002 3e:dd:a9:d3:22:a3 tunl0 DOWN 0.0.0.0/0 0x00000080 00:00:00:00:00:00 sit0 DOWN 0.0.0.0/0 0x00000080 00:00:00:00:00:00 ip6tnl0 DOWN 0.0.0.0/0 0x00000080 00:00:00:00:00:00 wlan0 UP 10.247.37.238/21 0x00001043 84:74:2a:f1:52:c1
Could you test this change at this line [1]? - let token = Buf.newParcel(REQUEST_DEACTIVATE_DATA_CALL); + let token = Buf.newParcel(REQUEST_DEACTIVATE_DATA_CALL, options); [1] http://mxr.mozilla.org/mozilla-central/source/dom/system/gonk/ril_worker.js#1839
blocking-basecamp: ? → +
(In reply to José Antonio Olivera Ortega [:jaoo] from comment #3) > Could you test this change at this line [1]? > > - let token = Buf.newParcel(REQUEST_DEACTIVATE_DATA_CALL); > + let token = Buf.newParcel(REQUEST_DEACTIVATE_DATA_CALL, options); Yes, it worked. Thank you! Would you like to submit a patch?
blocking-basecamp: + → ?
clee, the blocking-basecamp flag changed to '?' automatically after sending previous comment, and I cannot changed it back to + again. Can you change it back?
(In reply to Shian-Yow Wu from comment #4) > (In reply to José Antonio Olivera Ortega [:jaoo] from comment #3) > Would you like to submit a patch? I also have that change in a patch in my queue but I would need to clean it a bit. If you already have a patch and you test it please go ahead!
I've tested it worked on otoro phone.
Attachment #646078 - Flags: review?(philipp)
Attachment #646078 - Flags: review?(philipp) → review+
Component: General → DOM: Device Interfaces
Product: Boot2Gecko → Core
Target Milestone: --- → mozilla17
Version: unspecified → Trunk
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
blocking-basecamp: ? → +
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: