PERFORCE change 140098 for review

Sam Leffler sam at FreeBSD.org
Wed Apr 16 04:21:00 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=140098

Change 140098 by sam at sam_ebb on 2008/04/16 04:20:41

	unbreak now that I have a card to test with

Affected files ...

.. //depot/projects/vap/sys/dev/usb/if_rum.c#15 edit

Differences ...

==== //depot/projects/vap/sys/dev/usb/if_rum.c#15 (text+ko) ====

@@ -1088,7 +1088,7 @@
 	usbd_status error;
 	int xferlen;
 
-	data = &sc->tx_data[0];
+	data = &sc->tx_data[sc->tx_cur];
 	data->m = m0;
 	data->ni = ni;
 	desc = (struct rum_tx_desc *)data->buf;
@@ -1178,7 +1178,7 @@
 
 	KASSERT(params != NULL, ("no raw xmit params"));
 
-	data = &sc->tx_data[0];
+	data = &sc->tx_data[sc->tx_cur];
 	desc = (struct rum_tx_desc *)data->buf;
 
 	rate = params->ibp_rate0 & IEEE80211_RATE_VAL;
@@ -1304,7 +1304,7 @@
 		}
 	}
 
-	data = &sc->tx_data[0];
+	data = &sc->tx_data[sc->tx_cur];
 	desc = (struct rum_tx_desc *)data->buf;
 
 	data->m = m0;


More information about the p4-projects mailing list