From: bugzilla-daemon@kernel.org
To: linux-usb@vger.kernel.org
Subject: [Bug 220002] USB tethering fails with rndis_host on 6.14.2
Date: Wed, 07 Jan 2026 02:16:22 +0000 [thread overview]
Message-ID: <bug-220002-208809-XSCoDBbGYB@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-220002-208809@https.bugzilla.kernel.org/>
https://bugzilla.kernel.org/show_bug.cgi?id=220002
cvb3452025@proton.me changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |cvb3452025@proton.me
--- Comment #5 from cvb3452025@proton.me ---
static const struct usb_device_id rndis_wwan_ids[] = {
{ USB_DEVICE(0x12d1, 0x14dc) }, /* Huawei example */
{ USB_DEVICE(0x19d2, 0x1405) }, /* ZTE example */
{ } /* terminating entry */
};
static bool rndis_is_wwan(struct usb_interface *intf)
{
if (usb_match_id(intf, rndis_wwan_ids))
return true;
return false;
}
static int rndis_bind(struct usbnet *dev, struct usb_interface *intf)
{
int ret;
ret = generic_rndis_bind(dev, intf, FLAG_RNDIS_PHYM_NOT_WIRELESS);
if (ret)
return ret;
/* Only mark known WWAN devices as WWAN */
if (rndis_is_wwan(intf))
dev->net->type = ARPHRD_NONE;
return 0;
}
Maybe you can try to bind only usbid fits wwan
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
next prev parent reply other threads:[~2026-01-07 2:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-10 23:11 [Bug 220002] New: USB tethering fails with rndis_host on 6.14.2 bugzilla-daemon
2025-04-11 5:09 ` [Bug 220002] " bugzilla-daemon
2025-04-11 18:27 ` bugzilla-daemon
2025-04-11 21:31 ` bugzilla-daemon
2025-04-11 23:31 ` bugzilla-daemon
2025-04-11 23:31 ` bugzilla-daemon
2025-04-16 14:17 ` bugzilla-daemon
2026-01-07 2:16 ` bugzilla-daemon [this message]
2026-01-07 2:16 ` bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-220002-208809-XSCoDBbGYB@https.bugzilla.kernel.org/ \
--to=bugzilla-daemon@kernel.org \
--cc=linux-usb@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox