Skip to content

Conversation

@alfonsosanchezbeato
Copy link
Contributor

Fix cellular data on start for fp2

Do not detach when ordered to do so, because for some broken rils we
cannot re-attach again (fp2). This is safe as anyway we are not doing
this in old rils.
alfonsosanchezbeato added a commit to alfonsosanchezbeato/device-files that referenced this pull request Jan 13, 2017
There is a bug in the ril that prevent us from re-attaching after we
have explcitly detached. As a workaround, never detach explicitly.
Based on rilmodem/ofono#261 .
@tonyespy
Copy link
Contributor

It seems a bit heavy handed to just stop sending RIL_REQUEST_ALLOW_DATA requests when attached==0 in order to fix a semi-broken rild. Are you sure there are no potential side-effects? Couldn't we quirk the specific device?

@alfonsosanchezbeato
Copy link
Contributor Author

alfonsosanchezbeato commented Jan 19, 2017

@tonyespy actually I agree with you. I do not see side effects in other devices, like Pro 5, however I will eventually resubmit this as a quirk. Anyway I will keep this PR around for the moment. as it was used to create a binary for the ubports fp2 overlay. Please do not merge ;)

@tonyespy
Copy link
Contributor

@alfonsosanchezbeato OK, thanks for the explanation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants