[PATCH 2/2] bearer-mbim: all bearers share one MBIM data port
Bjørn Mork
bjorn at mork.no
Thu Jun 5 04:51:15 PDT 2014
Signed-off-by: Bjørn Mork <bjorn at mork.no>
---
src/mm-bearer-mbim.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/mm-bearer-mbim.c b/src/mm-bearer-mbim.c
index 1f4adb0..65245f2 100644
--- a/src/mm-bearer-mbim.c
+++ b/src/mm-bearer-mbim.c
@@ -84,10 +84,8 @@ peek_ports (gpointer self,
}
if (o_data) {
- MMPort *port;
+ MMPort *port = MM_PORT (mm_base_modem_peek_port_mbim (modem));
- /* Grab a data port */
- port = mm_base_modem_peek_best_data_port (modem, MM_PORT_TYPE_NET);
if (!port) {
g_simple_async_report_error_in_idle (G_OBJECT (self),
callback,
--
2.0.0
More information about the ModemManager-devel
mailing list