mirror of
https://github.com/openwrt/packages.git
synced 2026-10-12 08:07:24 +04:00
Commit246506690f("modemmanager: always reset the init_eps if not configured") changed the behaviour for an unset 'init_epsbearer' from leaving the modem untouched to clearing the initial EPS bearer on every setup. This is a regression for users upgrading from 24.10: - Modems without support for setting the LTE attach configuration (e.g. Sierra Wireless EM7430) fail the setup with MM_INIT_EPS_BEARER_SET_FAILED and never come up. - Attach settings preloaded by the carrier firmware are wiped. The same commit also removed the explicit 'none' case, so 'none' now silently skips the initial EPS bearer setup, while it cleared it in 24.10. Neither matches the documentation. Make all modes explicit, each naming where the initial EPS bearer settings come from: - modem: leave the settings stored on the modem unchanged (default) - network: set an empty initial EPS bearer, the network assigns the APN; replaces the implicit clear, e.g. after a SIM swap - connection: use the connection options (apn, iptype, ...) - custom: use the init_* options 'none' and 'default' are kept as deprecated aliases for 'modem' and 'connection'. 'none' maps to 'modem' as documented in the README and as it behaves since246506690f, although an explicit 'none' cleared the initial EPS bearer in 24.10; use 'network' for that. Unknown values fall back to 'modem'. The README now documents the modes and how to clear stale settings manually. Fixes: https://github.com/openwrt/packages/issues/30299 Signed-off-by: Michael Pfeifroth <micpf@westermo.com>