On Thu, 2020-06-25 at 23:10 -0400, Bob Copeland wrote: > On Thu, Jun 25, 2020 at 03:08:42PM +0200, Johannes Berg wrote: > > From: Johannes Berg <johannes.berg@xxxxxxxxx> > > > > Add the ability to write a pcapng file containing all the data. > > The radiotap header is currently very minimal with only the > > frequency and the signal strength. > > + if (!filename) > > + return; > > + > > + ctx->pcap_file = fopen(filename, "w+"); > > I know it doesn't actually matter, but would be nice to close this > somewhere. Hah, true. I guess we could now add to the control socket a way to quit wediumd that doesn't involve killing it, and then that starts being a bit more relevant :) johannes