|Summary:||bluetooth l2ping makes an extra interval sleep before exit and does not flush line-by-line|
|Product:||Base System||Reporter:||Juha Nurmela <oh5nxo>|
|Component:||wireless||Assignee:||freebsd-wireless (Nobody) <wireless>|
|Severity:||Affects Only Me||Keywords:||patch|
Description Juha Nurmela 2016-10-05 00:00:04 UTC
Created attachment 175431 [details] remove extra delay from l2ping and flush output line-by-line LOW PRIORITY /usr/src/usr.sbin/bluetooth/l2ping/l2ping.c Mainloop is oddly arranged: After each ping is sent, received (or not), _and_ reported, there is always an interval sleep, even after the last one. Output is not flushed before sleeping, making life hard for scripts.