Fix what looks like a typo after r258732.

This commit is contained in:
Hans Petter Selasky 2013-12-04 12:30:51 +00:00
parent 8cfe54400e
commit 0aff597a1f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=258921

View File

@ -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);