BT_DBG("GATT Server Acquire Write Offset: [%d]", offset);
- if (socketpair(AF_UNIX, SOCK_STREAM, 0, pipefd) < 0) {
+ if (socketpair(AF_UNIX, SOCK_SEQPACKET, 0, pipefd) < 0) {
strerror_r(errno, err_msg, sizeof(err_msg));
BT_ERR("socketpair(): %s", err_msg);
return ;