diff options
author | Geoff Levand <geoffrey.levand@am.sony.com> | 2009-04-12 15:11:39 +0000 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2009-06-30 15:29:01 +0800 |
commit | ce8a340bffd224290ad5219baa5f0466fcd9fd55 (patch) | |
tree | 94815d7ab225182f7fa5930ef774817cde01aa6d /lib | |
parent | 6fd6d956ae55e755e2116d86942c62767df033de (diff) | |
download | talos-petitboot-ce8a340bffd224290ad5219baa5f0466fcd9fd55.tar.gz talos-petitboot-ce8a340bffd224290ad5219baa5f0466fcd9fd55.zip |
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 <geoffrey.levand@am.sony.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pb-protocol/pb-protocol.h | 2 |
1 files changed, 1 insertions, 1 deletions
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, |