summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINSUN PYO <insun.pyo@samsung.com>2017-09-27 13:55:02 +0900
committerINSUN PYO <insun.pyo@samsung.com>2017-09-27 13:55:23 +0900
commit7ec11bdf91290a0f87b01fe21d00053f1c1b1b31 (patch)
tree002d3985c0c552efe137ef489d1ca12ecf7732eb
parentd64d9a73cf0ca580ae76c4d95e359ee98e3c3095 (diff)
downloaddevice-manager-plugin-artik-7ec11bdf91290a0f87b01fe21d00053f1c1b1b31.tar.gz
device-manager-plugin-artik-7ec11bdf91290a0f87b01fe21d00053f1c1b1b31.tar.bz2
device-manager-plugin-artik-7ec11bdf91290a0f87b01fe21d00053f1c1b1b31.zip
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I0388c075d8a22639100b3b0a41b9bf1d9581ecba
-rwxr-xr-xhw/udev.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/udev.c b/hw/udev.c
index 562725b..1f64b08 100755
--- a/hw/udev.c
+++ b/hw/udev.c
@@ -29,7 +29,7 @@
#define EVENT_KERNEL "kernel"
#define EVENT_UDEV "udev"
-#define UDEV_MONITOR_SIZE (10*1024)
+#define UDEV_MONITOR_SIZE (128*1024)
struct uevent_info {
struct udev_monitor *mon;
@@ -141,6 +141,7 @@ static int uevent_control_start(const char *type,
goto stop;
}
+ _I("Set udev monitor buffer size %d", UDEV_MONITOR_SIZE);
ret = udev_monitor_set_receive_buffer_size(info->mon,
UDEV_MONITOR_SIZE);
if (ret != 0) {