Date: Mon, 10 Mar 2008 04:50:20 GMT From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 137289 for review Message-ID: <200803100450.m2A4oKUl032246@repoman.freebsd.org>
index | next in thread | raw e-mail
http://perforce.freebsd.org/chv.cgi?CH=137289 Change 137289 by sam@sam_ebb on 2008/03/10 04:49:41 o install new flags when checking the scan cache so the caller can specify things like NOPICK o dispatch a scan done event when a scan request is satisfied by a cache hit (for user apps that specify IEEE80211_IOC_SCAN_CHECK) Affected files ... .. //depot/projects/vap/sys/net80211/ieee80211_scan.c#16 edit Differences ... ==== //depot/projects/vap/sys/net80211/ieee80211_scan.c#16 (text+ko) ==== @@ -586,6 +586,8 @@ */ SCAN_PRIVATE(ss)->ss_iflags |= ISCAN_DISCARD; ic->ic_flags |= IEEE80211_F_SCAN; + /* NB: need to use supplied flags in check below */ + ss->ss_flags = flags & 0xff; checkscanlist = 1; } } @@ -594,6 +596,7 @@ if (ss->ss_ops->scan_end(ss, vap)) { /* found an ap, just clear the flag */ ic->ic_flags &= ~IEEE80211_F_SCAN; + ieee80211_notify_scan_done(vap); return 1; } /* no ap, clear the flag before starting a scan */help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803100450.m2A4oKUl032246>
