Skip to content

modemmanager: fix user in custom initial EPS bearer settings - #30372

Open
osedlbauer wants to merge 1 commit into
openwrt:masterfrom
osedlbauer:fix/modemmanager-wrong-option-username
Open

modemmanager: fix user in custom initial EPS bearer settings#30372
osedlbauer wants to merge 1 commit into
openwrt:masterfrom
osedlbauer:fix/modemmanager-wrong-option-username

Conversation

@osedlbauer

Copy link
Copy Markdown
Contributor

📦 Package Details

Maintainer: @feckert

Description:

The proto handler reads the init_user option but references the undefined variable init_username when building the connect args, so the username is never passed to mmcli.


The proto handler reads the init_user option but references the
undefined variable init_username when building the connect args,
so the username is never passed to mmcli.

Signed-off-by: Oliver Sedlbauer <[email protected]>

@openwrt-ai openwrt-ai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 new commit. The rename looks correct and complete: all three sites (proto_config_add_string, the local declaration and json_get_vars) are updated consistently, and init_username is the name already used both by README.md:62-63 and by LuCI's protocol/modemmanager.js:189,`` so this aligns the proto handler with the documented and UI-exposed option rather than the other way around. Since the old init_user value was read but never used, no working configuration regresses. `PKG_RELEASE` bump is correct for a files-only change.

One optional nit inline; nothing blocking.


Generated by Claude Code


# Give the modem time to change to the initializing state after
# unlocking
# unlocking

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: this trailing-whitespace cleanup is unrelated to the init_userinit_username rename and isn't mentioned in the commit message. Harmless, but it makes the commit do more than its subject/body describes — either drop it or add a line to the commit body saying a stray trailing space is removed along the way.


Generated by Claude Code

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