Skip to contentSkip to conversation

Move debug print to more useful place

PATCH Applied Pavel Machek 2 participants 2 messages Sep 27, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Move debug print to more useful place

Move debug print to more useful place in setup_gobi().

index ff5d41af..a4b18488 100644

plugins/udevng.c +2 -1
@@ -233,10 +233,11 @@ static gboolean setup_gobi(struct modem_info *modem)
 		}
 	}
 
+	DBG("qmi=%s net=%s mdm=%s gps=%s diag=%s", qmi, net, mdm, gps, diag);
+	
 	if (qmi == NULL || mdm == NULL || net == NULL)
 		return FALSE;
 
-	DBG("qmi=%s net=%s mdm=%s gps=%s diag=%s", qmi, net, mdm, gps, diag);
 
 	ofono_modem_set_string(modem->modem, "Device", qmi);
 	ofono_modem_set_string(modem->modem, "Modem", mdm);
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#1 lore raw

Hi Pavel,

Quoted 3 lines · Pavel Machek

Move debug print to more useful place in setup_gobi().

Applied, thanks.

Regards,
-Denis