From e828fb7ee7616d81cc696048889da88b68b036ff Mon Sep 17 00:00:00 2001 From: Dominic Spill Date: Sat, 6 Feb 2016 23:04:17 +0000 Subject: Revert "Switch ubertooth-scan from rx_live to ubertooth_bulk_*" This reverts commit b8920cfbbec2ce2e6535b0a41e9e37d7a4c2aef2. --- host/libubertooth/src/ubertooth.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'host/libubertooth') diff --git a/host/libubertooth/src/ubertooth.c b/host/libubertooth/src/ubertooth.c index 9b19d2c..d1a5799 100644 --- a/host/libubertooth/src/ubertooth.c +++ b/host/libubertooth/src/ubertooth.c @@ -271,8 +271,7 @@ int ubertooth_bulk_receive(ubertooth_t* ut, rx_callback cb, void* cb_args) rx = (usb_pkt_rx*)(ut->full_usb_buf + PKT_LEN * i); if(rx->pkt_type != KEEP_ALIVE) { ringbuffer_add(ut->packets, rx); - if(cb) - (*cb)(ut, cb_args); + (*cb)(ut, cb_args); } if(ut->stop_ubertooth) { if(ut->rx_xfer) -- cgit v1.2.3