From 7d3024cb6262325fdbd6e254761770ab005f461f Mon Sep 17 00:00:00 2001 From: hselasky Date: Wed, 4 Dec 2013 12:30:51 +0000 Subject: [PATCH] Fix what looks like a typo after r258732. --- sys/dev/usb/wlan/if_run.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/usb/wlan/if_run.c b/sys/dev/usb/wlan/if_run.c index c35e6b94c3f0..4c4cf3698bd8 100644 --- a/sys/dev/usb/wlan/if_run.c +++ b/sys/dev/usb/wlan/if_run.c @@ -3672,7 +3672,7 @@ run_rt2870_set_chan(struct run_softc *sc, u_int chan) } if (txpow2 >= 0) { txpow2 = (txpow2 > 0xf) ? (0xf) : (txpow2); - r4 |= (txpow1 << 7) | (1 << 6); + r4 |= (txpow2 << 7) | (1 << 6); } else { txpow2 += 7; r4 |= (txpow2 << 7);