summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/b43/phy_common.c
diff options
context:
space:
mode:
authorGábor Stefanik <netrolller.3d@gmail.com>2009-08-26 18:51:24 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2009-08-28 18:40:52 (GMT)
commitd8fa338ee01e7de029d2441a8c2b9c5fbfeac82f (patch)
treef744f9136f9f58136f03cd6e792d46a510474956 /drivers/net/wireless/b43/phy_common.c
parentca9152e37f57259ca92486ca5753af16fd9155c6 (diff)
downloadlinux-fsl-qoriq-d8fa338ee01e7de029d2441a8c2b9c5fbfeac82f.tar.xz
b43: LP-PHY: Fix and simplify Qdiv roundup
The Qdiv roundup routine is essentially a fixed-point division algorithm, using only integer math. However, the version in the specs had a major error that has been recently fixed (a missing quotient++). Replace Qdiv roundup with a rewritten, simplified version. Signed-off-by: Gábor Stefanik <netrolller.3d@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/phy_common.c')
0 files changed, 0 insertions, 0 deletions