svn commit: r258921 - head/sys/dev/usb/wlan

Hans Petter Selasky hselasky at FreeBSD.org
Wed Dec 4 12:30:52 UTC 2013


Author: hselasky
Date: Wed Dec  4 12:30:51 2013
New Revision: 258921
URL: http://svnweb.freebsd.org/changeset/base/258921

Log:
  Fix what looks like a typo after r258732.

Modified:
  head/sys/dev/usb/wlan/if_run.c

Modified: head/sys/dev/usb/wlan/if_run.c
==============================================================================
--- head/sys/dev/usb/wlan/if_run.c	Wed Dec  4 12:28:56 2013	(r258920)
+++ head/sys/dev/usb/wlan/if_run.c	Wed Dec  4 12:30:51 2013	(r258921)
@@ -3672,7 +3672,7 @@ run_rt2870_set_chan(struct run_softc *sc
 		}
 		if (txpow2 >= 0) {
 			txpow2 = (txpow2 > 0xf) ? (0xf) : (txpow2);
-			r4 |= (txpow1 << 7) | (1 << 6);
+			r4 |= (txpow2 << 7) | (1 << 6);
 		} else {
 			txpow2 += 7;
 			r4 |= (txpow2 << 7);


More information about the svn-src-head mailing list