From ce8a340bffd224290ad5219baa5f0466fcd9fd55 Mon Sep 17 00:00:00 2001 From: Geoff Levand Date: Sun, 12 Apr 2009 15:11:39 +0000 Subject: Increase protocol payload size to 64KiB Increase the protocol payload size from 8 KiB to 64 KiB. Udev uses some really long device names for USB mass storage devices so the config file data can easily excceed the protocol payload. Signed-off-by: Geoff Levand Signed-off-by: Jeremy Kerr --- lib/pb-protocol/pb-protocol.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/pb-protocol') diff --git a/lib/pb-protocol/pb-protocol.h b/lib/pb-protocol/pb-protocol.h index 36b68dd..888e9b9 100644 --- a/lib/pb-protocol/pb-protocol.h +++ b/lib/pb-protocol/pb-protocol.h @@ -7,7 +7,7 @@ #define PB_SOCKET_PATH "/tmp/petitboot.ui" -#define PB_PROTOCOL_MAX_PAYLOAD_SIZE (8 * 1024) +#define PB_PROTOCOL_MAX_PAYLOAD_SIZE (64 * 1024) enum pb_protocol_action { PB_PROTOCOL_ACTION_ADD = 0x1, -- cgit v1.2.1