From 1ca589662f3393e3cc93810d5224b5eb51d60762 Mon Sep 17 00:00:00 2001 From: solomon Date: Tue, 17 Sep 2002 16:01:06 +0000 Subject: [PATCH] Fixed a polarity problem with a sniff argument. --- CHANGES | 2 ++ TODO | 3 +++ src/prism2/driver/prism2mgmt.c | 4 ++-- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 2c455da..54b728c 100644 --- a/CHANGES +++ b/CHANGES @@ -41,6 +41,8 @@ * Intersil Corporation as part of PRISM(R) chipset product development. * * -------------------------------------------------------------------- +-pre8 + - Fix a polarity problem with the stripfcs argument to monitor mode. - Add a test to make sure wireless.h is included. - Netgear MA401A card ident. - Further cleanups of the build system (Makefiles) diff --git a/TODO b/TODO index acd2517..68f0523 100644 --- a/TODO +++ b/TODO @@ -43,6 +43,9 @@ * -------------------------------------------------------------------- Linux WLAN NG TODO +- Configure options depend on kernel version/pcmcia stuff/etc? +- WEP hangs? +- Posted URBs/usb crash-on-unload/schedule() on unload? - Make the command-completion interrupt driven vs busywaiting. - Possibly hook up DMA on the Rx side for PCI devices - Further investigate lingering SMP issues diff --git a/src/prism2/driver/prism2mgmt.c b/src/prism2/driver/prism2mgmt.c index f0a5834..39e5b25 100644 --- a/src/prism2/driver/prism2mgmt.c +++ b/src/prism2/driver/prism2mgmt.c @@ -2703,9 +2703,9 @@ int prism2mgmt_wlansniff(wlandevice_t *wlandev, void *msgp) /* Do we want to strip the FCS in monitor mode? */ if ((msg->stripfcs.status == P80211ENUM_msgitem_status_data_ok) && (msg->stripfcs.data == P80211ENUM_truth_true)) { - hw->sniff_fcs = 1; - } else { hw->sniff_fcs = 0; + } else { + hw->sniff_fcs = 1; } /* Enable the port */