Commit fe92c2a8 authored by Gregory CLEMENT's avatar Gregory CLEMENT Committed by Greg Kroah-Hartman
Browse files

tty: n_gsm: Improve debug output

parent aa49d8e8
Loading
Loading
Loading
Loading
+2 −12
Original line number Diff line number Diff line
@@ -504,18 +504,8 @@ static void gsm_print_packet(const char *hdr, int addr, int cr,
	else
		pr_cont("(F)");

	if (dlen) {
		int ct = 0;
		while (dlen--) {
			if (ct % 8 == 0) {
				pr_cont("\n");
				pr_debug("    ");
			}
			pr_cont("%02X ", *data++);
			ct++;
		}
	}
	pr_cont("\n");
	if (dlen)
		print_hex_dump_bytes("", DUMP_PREFIX_NONE, data, dlen);
}