mirror of
https://github.com/linux-msm/diag.git
synced 2024-11-23 18:14:27 +08:00
diag: router: Increase receive buffer sizes
Increased buffer size to accommodate for masks in command packets. Signed-off-by: Eyal Ilsar <eilsar@codeaurora.org> [bjorn: Extracted from another patch] Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
parent
d2d6ff67af
commit
11b7deecf7
2
diag.c
2
diag.c
@ -45,7 +45,7 @@
|
||||
#include "util.h"
|
||||
#include "watch.h"
|
||||
|
||||
#define APPS_BUF_SIZE 4096
|
||||
#define APPS_BUF_SIZE 16384
|
||||
|
||||
struct list_head diag_cmds = LIST_INIT(diag_cmds);
|
||||
struct list_head diag_clients = LIST_INIT(diag_clients);
|
||||
|
2
masks.c
2
masks.c
@ -37,7 +37,7 @@
|
||||
#include "peripheral.h"
|
||||
#include "util.h"
|
||||
|
||||
#define APPS_BUF_SIZE 4096
|
||||
#define APPS_BUF_SIZE 16384
|
||||
|
||||
struct diag_mask_info {
|
||||
void *ptr;
|
||||
|
2
socket.c
2
socket.c
@ -47,7 +47,7 @@
|
||||
#include "hdlc.h"
|
||||
#include "watch.h"
|
||||
|
||||
#define APPS_BUF_SIZE 4096
|
||||
#define APPS_BUF_SIZE 16384
|
||||
|
||||
static int diag_sock_recv(int fd, void* data);
|
||||
|
||||
|
2
uart.c
2
uart.c
@ -40,7 +40,7 @@
|
||||
#include "hdlc.h"
|
||||
#include "watch.h"
|
||||
|
||||
#define APPS_BUF_SIZE 4096
|
||||
#define APPS_BUF_SIZE 16384
|
||||
|
||||
static unsigned int check_baudrate(unsigned int baudrate)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user