]> git.ozlabs.org Git - petitboot/commitdiff
Increase protocol payload size to 64KiB
authorGeoff Levand <geoffrey.levand@am.sony.com>
Sun, 12 Apr 2009 15:11:39 +0000 (15:11 +0000)
committerJeremy Kerr <jk@ozlabs.org>
Tue, 30 Jun 2009 07:29:01 +0000 (15:29 +0800)
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>
lib/pb-protocol/pb-protocol.h

index 36b68ddb1eb88dc740cdec611a518b8c7920f287..888e9b991fdacbbed2594e6de348f6b32e5d4605 100644 (file)
@@ -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,