summaryrefslogtreecommitdiffstats
path: root/drivers/net/wwan
diff options
context:
space:
mode:
authorFabio Porcedda <fabio.porcedda@gmail.com>2022-09-16 16:43:28 +0200
committerJakub Kicinski <kuba@kernel.org>2022-09-21 01:07:12 +0200
commit0c60d1657d3dcbb3e0301cc19ea7e1581e05baa5 (patch)
treedb9e1a71308a93da6306f462a68b50f10c26ca5a /drivers/net/wwan
parentMerge branch 'refactor-duplicate-codes-in-the-tc-cls-walk-function' (diff)
downloadlinux-0c60d1657d3dcbb3e0301cc19ea7e1581e05baa5.tar.xz
linux-0c60d1657d3dcbb3e0301cc19ea7e1581e05baa5.zip
net: wwan: mhi_wwan_ctrl: Add DUN2 to have a secondary AT port
In order to have a secondary AT port add "DUN2". Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Reviewed-by: Loic Poulain <loic.poulain@linaro.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/wwan')
-rw-r--r--drivers/net/wwan/mhi_wwan_ctrl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wwan/mhi_wwan_ctrl.c b/drivers/net/wwan/mhi_wwan_ctrl.c
index e4d0f696687f..f7ca52353f40 100644
--- a/drivers/net/wwan/mhi_wwan_ctrl.c
+++ b/drivers/net/wwan/mhi_wwan_ctrl.c
@@ -258,6 +258,7 @@ static void mhi_wwan_ctrl_remove(struct mhi_device *mhi_dev)
static const struct mhi_device_id mhi_wwan_ctrl_match_table[] = {
{ .chan = "DUN", .driver_data = WWAN_PORT_AT },
+ { .chan = "DUN2", .driver_data = WWAN_PORT_AT },
{ .chan = "MBIM", .driver_data = WWAN_PORT_MBIM },
{ .chan = "QMI", .driver_data = WWAN_PORT_QMI },
{ .chan = "DIAG", .driver_data = WWAN_PORT_QCDM },