From b6fb72a0d7710a655add891f47f40f8ac1288c1d Mon Sep 17 00:00:00 2001 From: Aurelio Colosimo <aurelio@aureliocolosimo.it> Date: Sat, 24 Nov 2012 17:31:17 +0100 Subject: [PATCH] wrc_ptp_ppsi.c: packet buffer resized and made static Signed-off-by: Aurelio Colosimo <aurelio@aureliocolosimo.it> --- wrc_ptp_ppsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrc_ptp_ppsi.c b/wrc_ptp_ppsi.c index 83ad1b0..24b097e 100644 --- a/wrc_ptp_ppsi.c +++ b/wrc_ptp_ppsi.c @@ -166,7 +166,7 @@ int wrc_ptp_update() struct pp_instance *ppi = &ppi_static; if (ptp_enabled) { - unsigned char _packet[1500]; + static unsigned char _packet[500]; /* FIXME Alignment */ unsigned char *packet = _packet + 2; -- GitLab