diff --git a/src/mm-broadband-modem-mbim.c b/src/mm-broadband-modem-mbim.c
index b9107a557ed2cebe26c5f8804330e7dbd3f2b76a..c895c15d4dde471656b28cf4001af0d99fb91198 100644
--- a/src/mm-broadband-modem-mbim.c
+++ b/src/mm-broadband-modem-mbim.c
@@ -10377,12 +10377,6 @@ dispose (GObject *object)
         /* Explicitly remove notification handler */
         self->priv->setup_flags = PROCESS_NOTIFICATION_FLAG_NONE;
         common_setup_cleanup_unsolicited_events_sync (self, mbim, FALSE);
-
-        /* If we did open the MBIM port during initialization, close it now */
-        if (mm_port_mbim_is_open (mbim)) {
-g_message ("###### %s: [%p] mbim will close", __func__, mbim);
-            mm_port_mbim_close (mbim, NULL, NULL);
-    }
     }
 
     g_clear_object (&self->priv->unlock_retries);
diff --git a/src/mm-broadband-modem-qmi.c b/src/mm-broadband-modem-qmi.c
index 7359fccbd5e896aa6dc8730741e3f9495809464c..93b307b4abe106f477d223c519cc1d70244bfe99 100644
--- a/src/mm-broadband-modem-qmi.c
+++ b/src/mm-broadband-modem-qmi.c
@@ -13994,17 +13994,6 @@ static void
 dispose (GObject *object)
 {
     MMBroadbandModemQmi *self = MM_BROADBAND_MODEM_QMI (object);
-    MMPortQmi *qmi;
-
-    /* If any port cleanup is needed, it must be done during dispose(), as
-     * the modem object will be affected by an explicit g_object_run_dispose()
-     * that will remove all port references right away */
-    qmi = mm_broadband_modem_qmi_peek_port_qmi (self);
-    if (qmi) {
-        /* If we did open the QMI port during initialization, close it now */
-        if (mm_port_qmi_is_open (qmi))
-            mm_port_qmi_close (qmi, NULL, NULL);
-    }
 
     g_list_free_full (self->priv->firmware_list, g_object_unref);
     self->priv->firmware_list = NULL;