From owner-p4-projects@FreeBSD.ORG Wed Apr 16 04:21:00 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 877711065675; Wed, 16 Apr 2008 04:21:00 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49E8D106566B for ; Wed, 16 Apr 2008 04:21:00 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 397598FC13 for ; Wed, 16 Apr 2008 04:21:00 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m3G4L0Dh065947 for ; Wed, 16 Apr 2008 04:21:00 GMT (envelope-from sam@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m3G4L0VL065935 for perforce@freebsd.org; Wed, 16 Apr 2008 04:21:00 GMT (envelope-from sam@freebsd.org) Date: Wed, 16 Apr 2008 04:21:00 GMT Message-Id: <200804160421.m3G4L0VL065935@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to sam@freebsd.org using -f From: Sam Leffler To: Perforce Change Reviews Cc: Subject: PERFORCE change 140098 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Apr 2008 04:21:00 -0000 http://perforce.freebsd.org/chv.cgi?CH=140098 Change 140098 by sam@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;