shill: cellular: handle "user authentication failed" error from ModemManager
The org.freedesktop.ModemManager.Modem.Gsm.GprsUserAuthenticationFailed
error reported by ModemManager reflects the cause code #29 (user
authentication failed) for the PDP context activation, which could be
due to invalid APN information (e.g. APN, username, password, or
authentication method). This CL remaps this error to Error::kInvalidApn,
such that shill retries other APNs in the APN try list upon receiving
this error.
BUG=b:80280678
TEST=Run unit tests.
Change-Id: Id7fc21cd29e4bd5b642f204a1a9d4ce9507bbd60
Reviewed-on: https://chromium-review.googlesource.com/1085989
Commit-Ready: Ben Chan <benchan@chromium.org>
Tested-by: Ben Chan <benchan@chromium.org>
Reviewed-by: Eric Caruso <ejcaruso@chromium.org>
1 file changed