Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 May 2009 23:33:40 +0000 (UTC)
From:      Sam Leffler <sam@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r192497 - head/sys/dev/if_ndis
Message-ID:  <200905202333.n4KNXfnb047729@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sam
Date: Wed May 20 23:33:40 2009
New Revision: 192497
URL: http://svn.freebsd.org/changeset/base/192497

Log:
  update for net80211 rx api change

Modified:
  head/sys/dev/if_ndis/if_ndis.c

Modified: head/sys/dev/if_ndis/if_ndis.c
==============================================================================
--- head/sys/dev/if_ndis/if_ndis.c	Wed May 20 23:07:10 2009	(r192496)
+++ head/sys/dev/if_ndis/if_ndis.c	Wed May 20 23:33:40 2009	(r192497)
@@ -3306,7 +3306,6 @@ ndis_scan_results(struct ndis_softc *sc)
 	struct ieee80211_channel *saved_chan;
 	int i, j;
 	int error, len, rssi, noise, freq, chanflag;
-	static long rstamp;
 	uint8_t ssid[2+IEEE80211_NWID_LEN];
 	uint8_t rates[2+IEEE80211_RATE_MAXSIZE];
 	uint8_t *frm, *efrm;
@@ -3337,7 +3336,6 @@ ndis_scan_results(struct ndis_softc *sc)
 	}
 
 	DPRINTF(("%s: %d results\n", __func__, bl->nblx_items));
-	rstamp++;
 	wb = &bl->nblx_bssid[0];
 	for (i = 0; i < bl->nblx_items; i++) {
 		memset(&sp, 0, sizeof(sp));
@@ -3408,7 +3406,7 @@ done:
 		DPRINTF(("scan: bssid %s chan %dMHz (%d/%d) rssi %d\n",
 		    ether_sprintf(wb->nwbx_macaddr), freq, sp.bchan, chanflag,
 		    rssi));
-		ieee80211_add_scan(vap, &sp, &wh, 0, rssi, noise, rstamp);
+		ieee80211_add_scan(vap, &sp, &wh, 0, rssi, noise);
 		wb = (ndis_wlan_bssid_ex *)((char *)wb + wb->nwbx_len);
 	}
 	free(bl, M_DEVBUF);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905202333.n4KNXfnb047729>