Commit b517cd14 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 b545c28d
......@@ -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;
......
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