different modules can lead to confusion).
*/
#ifndef lint
static const char rcsid[] _U_ =
*/
#ifndef lint
static const char rcsid[] _U_ =
- "@(#) $Header: /tcpdump/master/libpcap/pcap-bt-linux.c,v 1.13 2008-04-14 20:40:58 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/libpcap/pcap-bt-linux.c,v 1.14 2008-04-14 21:07:50 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
#endif
#ifdef HAVE_CONFIG_H
+ if (handle->opt.rfmon) {
/*
* Monitor mode doesn't apply to Bluetooth devices.
*/
/*
* Monitor mode doesn't apply to Bluetooth devices.
*/
- pcap_cleanup_live_common(p);
+ pcap_cleanup_live_common(handle);
*/
#ifndef lint
static const char rcsid[] _U_ =
*/
#ifndef lint
static const char rcsid[] _U_ =
- "@(#) $Header: /tcpdump/master/libpcap/pcap-usb-linux.c,v 1.23 2008-04-14 20:40:58 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/libpcap/pcap-usb-linux.c,v 1.24 2008-04-14 21:06:09 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
#endif
#ifdef HAVE_CONFIG_H
handle->fd = open(full_path, O_RDONLY, 0);
if (handle->fd >= 0)
{
handle->fd = open(full_path, O_RDONLY, 0);
if (handle->fd >= 0)
{
+ if (handle->opt.rfmon) {
/*
* Monitor mode doesn't apply to USB devices.
*/
/*
* Monitor mode doesn't apply to USB devices.
*/
handle->read_op = usb_read_linux;
}
handle->read_op = usb_read_linux;
}
+ if (handle->opt.rfmon) {
/*
* Monitor mode doesn't apply to USB devices.
*/
/*
* Monitor mode doesn't apply to USB devices.
*/