diff mbox series

[2/2] udevng: use option driver for Quectel EG95 modem

Message ID 20240624100406.1497226-2-sean@geanix.com (mailing list archive)
State Accepted
Commit 9b4c5a22433bd9ba80d6e9bdc507a6df5ff8d335
Headers show
Series [1/2] udevng: use option driver for Quectel BG96 modem | expand

Commit Message

Sean Nyekjaer June 24, 2024, 10:04 a.m. UTC
After commit cb4f0876 ("udevng: Add "option" module managed ports
to gobi driver") ofono would choose gobi driver for the Quectel EG95
modem, as that driver is the match for the option serial devices.

add_device() is simply throwing away the found modem_driver as the
serial channels have been created using the gobi option driver.
---
 plugins/udevng.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/plugins/udevng.c b/plugins/udevng.c
index 0d018b37..789592e6 100644
--- a/plugins/udevng.c
+++ b/plugins/udevng.c
@@ -2176,6 +2176,7 @@  static struct {
 	{ "quectelqmi",	"qcserial",	"2c7c", "0125"	},
 	{ "quectelqmi",	"qmi_wwan",	"2c7c", "0195"	},
 	{ "quectelqmi",	"qcserial",	"2c7c", "0195"	},
+	{ "quectelqmi",	"option",	"2c7c", "0195"	},
 	{ "quectelqmi",	"qmi_wwan",	"2c7c", "0296"	},
 	{ "quectelqmi",	"qcserial",	"2c7c", "0296"	},
 	{ "quectelqmi",	"option",	"2c7c", "0296"	},