hmland: increase receive-buffer for lan-messages
authorMichael Gernoth <michael@gernoth.net>
Sun, 24 May 2015 19:29:47 +0000 (21:29 +0200)
committerMichael Gernoth <michael@gernoth.net>
Sun, 24 May 2015 19:29:47 +0000 (21:29 +0200)
hmland.c

index 6b89ece..04bb752 100644 (file)
--- a/hmland.c
+++ b/hmland.c
@@ -401,7 +401,7 @@ static int hmlan_format_out(uint8_t *buf, int buf_len, void *data)
 static int hmlan_parse_in(int fd, void *data)
 {
        struct hmcfgusb_dev *dev = data;
-       uint8_t buf[1025];
+       uint8_t buf[131073];
        uint8_t out[0x40]; //FIXME!!!
        uint8_t *outpos;
        uint8_t *inpos;
Impressum, Datenschutz