]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
net: wwan: mhi: Keep modem name match with Foxconn T99W640
authorSlark Xiao <slark_xiao@163.com>
Tue, 25 Nov 2025 07:09:00 +0000 (15:09 +0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 27 Nov 2025 01:04:07 +0000 (17:04 -0800)
Correct it since M.2 device T99W640 has updated from T99W515.
We need to align it with MHI side otherwise this modem can't
get the network.

Fixes: ae5a34264354 ("bus: mhi: host: pci_generic: Fix the modem name of Foxconn T99W640")
Signed-off-by: Slark Xiao <slark_xiao@163.com>
Reviewed-by: Loic Poulain <loic.poulain@oss.qualcomm.com>
Link: https://patch.msgid.link/20251125070900.33324-1-slark_xiao@163.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/wwan/mhi_wwan_mbim.c

index c814fbd756a1e70290932114214d8f2cc272ce69..f8bc9a39bfa30747b0b67f685c262af108843793 100644 (file)
@@ -98,7 +98,7 @@ static struct mhi_mbim_link *mhi_mbim_get_link_rcu(struct mhi_mbim_context *mbim
 static int mhi_mbim_get_link_mux_id(struct mhi_controller *cntrl)
 {
        if (strcmp(cntrl->name, "foxconn-dw5934e") == 0 ||
-           strcmp(cntrl->name, "foxconn-t99w515") == 0)
+           strcmp(cntrl->name, "foxconn-t99w640") == 0)
                return WDS_BIND_MUX_DATA_PORT_MUX_ID;
 
        return 0;