Date: Sun, 30 Jun 2013 05:25:25 +0000 (UTC) From: Rui Paulo <rpaulo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r252403 - head/sys/dev/usb/wlan Message-ID: <201306300525.r5U5PP6s058812@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rpaulo Date: Sun Jun 30 05:25:24 2013 New Revision: 252403 URL: http://svnweb.freebsd.org/changeset/base/252403 Log: Fix the ni_txrate calculation. Modified: head/sys/dev/usb/wlan/if_urtwn.c Modified: head/sys/dev/usb/wlan/if_urtwn.c ============================================================================== --- head/sys/dev/usb/wlan/if_urtwn.c Sun Jun 30 05:12:18 2013 (r252402) +++ head/sys/dev/usb/wlan/if_urtwn.c Sun Jun 30 05:25:24 2013 (r252403) @@ -1278,7 +1278,7 @@ urtwn_ra_init(struct urtwn_softc *sc) maxrate); /* Indicate highest supported rate. */ - ni->ni_txrate = rs->rs_nrates - 1; + ni->ni_txrate = rs->rs_rates[rs->rs_nrates - 1]; ieee80211_free_node(ni); return (0);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306300525.r5U5PP6s058812>