Subject: CVS commit: src/sys/dev/pci
To: None <source-changes@NetBSD.org>
From: DEGROOTE Arnaud <degroote@netbsd.org>
List: source-changes
Date: 09/02/2007 11:37:30
Module Name:	src
Committed By:	degroote
Date:		Sun Sep  2 11:37:30 UTC 2007

Modified Files:
	src/sys/dev/pci: if_wpi.c if_wpivar.h

Log Message:
Fix scanning code for wpi based on the iwi code.

Keep track of the status of the scan.
On a transition IEEE80211_S_SCAN -> IEEE80211_S_SCAN, don't stop the previous
scan, finish the current scan.
When we receive some frames in the IEEE80211_S_SCAN state, set current_channel
based on the value advertised in beacons or probre reponse.

Moreover, it fixes WPA issues for me.


To generate a diff of this commit:
cvs rdiff -r1.22 -r1.23 src/sys/dev/pci/if_wpi.c
cvs rdiff -r1.6 -r1.7 src/sys/dev/pci/if_wpivar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.