svn commit: r252403 - head/sys/dev/usb/wlan
Rui Paulo
rpaulo at FreeBSD.org
Sun Jun 30 05:25:25 UTC 2013
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);
More information about the svn-src-all
mailing list