Ticket #757 (closed defect: fixed)
Patch to openmoko-dialer to handle CREG: 2 responses
| Reported by: | rod@… | Owned by: | thomas@… |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | openmoko-dialer | Version: | 2007.2 |
| Severity: | normal | Keywords: | |
| Cc: | buglog@…, dpavlin@… | Blocked By: | |
| Blocking: | Estimated Completion (week): | ||
| HasPatchForReview: | PatchReviewResult: | ||
| Reproducible: |
Description
It seems that registration on my cellular provider's network takes more than 5
seconds.
This patch allows openmoko-dialer to properly handle a
MOKO_GSMD_CONNECTION_NETREG_SEARCHING event from the libmokogsmd2 library, and
wait for registration to complete, instead of continually retrying the
registration request and thereby causing the phone *never* to register.
The patch is at http://pastebin.ca/672064
Basically, I replace the boolean reg_request and registered private variables
with a new version of the registered private variable of type
MokoGsmdConnectionNetregType?. This allows the code in register_network_cb to
handle the different cases of NONE, SEARCHING, DENIED, and HOME/ROAMING.

* Bug 755 has been marked as a duplicate of this bug. *