[Pkg-bluetooth-maintainers] Bluez nit in hcitool: lescan needs a setlinebuf

William Cheswick ches at cheswick.com
Mon Feb 20 18:44:21 UTC 2017


hcitool lescan

is unsuited to running in a pipeline, because it queues up the information in the stdout buffer
when piped.  Recommend:

	setlinebuf(stdout);

in hcitool.c before the main while loop near line 2436.

Bill Cheswick
ches at cheswick.com




More information about the Pkg-bluetooth-maintainers mailing list