thompsa 2007-06-30 21:23:23 UTC
FreeBSD src repository
Modified files:
sys/dev/wi if_wi.c
sys/net80211 _ieee80211.h ieee80211_input.c
ieee80211_scan.c ieee80211_scan.h
ieee80211_scan_sta.c
Log:
Change the channel number in the scan results struct to be a pointer to the
operating channel and use this in the scan cache rather than directly using
ic_curchan. Some firmware cards can only do a full scan and so ic_curchan does
not have the correct value.
Also add IEEE80211_CHAN2IEEE to directly dereference ic_ieee from the channel
to be used in the fast path.
Reviewed by: sam, sephe
Approved by: re (kensmith)
Revision Changes Path
1.209 +7 -1 src/sys/dev/wi/if_wi.c
1.11 +2 -0 src/sys/net80211/_ieee80211.h
1.111 +7 -6 src/sys/net80211/ieee80211_input.c
1.2 +1 -1 src/sys/net80211/ieee80211_scan.c
1.2 +2 -2 src/sys/net80211/ieee80211_scan.h
1.2 +1 -1 src/sys/net80211/ieee80211_scan_sta.c