Commit b6fb72a0 authored by Aurelio Colosimo's avatar Aurelio Colosimo Committed by Alessandro Rubini

wrc_ptp_ppsi.c: packet buffer resized and made static

Signed-off-by: Aurelio Colosimo's avatarAurelio Colosimo <aurelio@aureliocolosimo.it>
parent ef4fc509
...@@ -166,7 +166,7 @@ int wrc_ptp_update() ...@@ -166,7 +166,7 @@ int wrc_ptp_update()
struct pp_instance *ppi = &ppi_static; struct pp_instance *ppi = &ppi_static;
if (ptp_enabled) { if (ptp_enabled) {
unsigned char _packet[1500]; static unsigned char _packet[500];
/* FIXME Alignment */ /* FIXME Alignment */
unsigned char *packet = _packet + 2; unsigned char *packet = _packet + 2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment