Fixed a polarity problem with a sniff argument.

This commit is contained in:
solomon 2002-09-17 16:01:06 +00:00
parent 76609addde
commit 1ca589662f
3 changed files with 7 additions and 2 deletions

View File

@ -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)

3
TODO
View File

@ -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

View File

@ -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 */