Diff between 2ea98a6a043710ad4958355b62c682b4767f292e and 870fb2619d1ddecef84f374e37e94a76d24cf1d7

Changed Files

File Additions Deletions Status
tools/csr_bcsp.c +1 -1 modified

Full Patch

diff --git a/tools/csr_bcsp.c b/tools/csr_bcsp.c
index 7bfaf5a..f7afe53 100644
--- a/tools/csr_bcsp.c
+++ b/tools/csr_bcsp.c
@@ -118,7 +118,7 @@ int csr_open_bcsp(char *device, speed_t bcsp_rate)
 	while (1) {
 		delay = ubcsp_poll(&activity);
 
-		if (activity & UBCSP_PACKET_RECEIVED)
+		if (activity & UBCSP_PACKET_SENT)
 			break;
 
 		if (delay) {