svn commit: r212273 - stable/8/sys/dev/bwn
Weongyo Jeong
weongyo at FreeBSD.org
Mon Sep 6 22:28:47 UTC 2010
Author: weongyo
Date: Mon Sep 6 22:28:46 2010
New Revision: 212273
URL: http://svn.freebsd.org/changeset/base/212273
Log:
MFC r210393:
Fixes a mistake to calculate CALC_COEFF2() value that tmp[3] is
used even if it's unreachable.
PR: kern/144505
Submitted by: Henning Petersen <henning.petersen at t-online dot de>
Modified:
stable/8/sys/dev/bwn/if_bwn.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
stable/8/sys/dev/xen/xenpci/ (props changed)
Modified: stable/8/sys/dev/bwn/if_bwn.c
==============================================================================
--- stable/8/sys/dev/bwn/if_bwn.c Mon Sep 6 22:23:35 2010 (r212272)
+++ stable/8/sys/dev/bwn/if_bwn.c Mon Sep 6 22:28:46 2010 (r212273)
@@ -12828,9 +12828,9 @@ bwn_phy_lp_calc_rx_iq_comp(struct bwn_ma
int _t; \
_t = _x - 11; \
if (_t >= 0) \
- tmp[3] = (_y << (31 - _x)) / (_z >> _t); \
+ _v = (_y << (31 - _x)) / (_z >> _t); \
else \
- tmp[3] = (_y << (31 - _x)) / (_z << -_t); \
+ _v = (_y << (31 - _x)) / (_z << -_t); \
} while (0)
struct bwn_phy_lp_iq_est ie;
uint16_t v0, v1;
More information about the svn-src-stable-8
mailing list