X-Git-Url: https://rtime.felk.cvut.cz/gitweb/tiny-bt.git/blobdiff_plain/d161a872794053e1f48e3fd1679784cc2ea0cc0a..9c8b02b8df6d9aba40d3947e07cde65a94fe8b0a:/src/hcidriver.c diff --git a/src/hcidriver.c b/src/hcidriver.c index 8f74f41..109e852 100644 --- a/src/hcidriver.c +++ b/src/hcidriver.c @@ -227,7 +227,7 @@ int hci_send_request(int dd, hci_request *p_req,int timeout){ while((len=read(dd, recbuf, sizeof(recbuf)))<0){ if(errno == EAGAIN || errno == EINTR) continue; - perror("Problem with cmd sending"); + perror("Problem with cmd reading"); goto fail; } printf("Count of received bytes %d \n ",len);