commit | 7f0cb0a05df262c51084f8b079188395ea1ad3da | [log] [tgz] |
---|---|---|
author | Peter Huewe <peterhuewe@gmx.de> | Wed Feb 13 04:05:25 2013 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Feb 15 10:28:37 2013 -0800 |
tree | a59760413b346751dba9fbff01f62ab258721e52 | |
parent | a638d6afbcf05cdd6d3a221544dbd8d1cd1eb3b6 [diff] |
staging/rtl8187se: Remove duplicated code by using an offset In SetAntennaConfig87SE both branches of if (bAntDiversity) do exactly the same, except that there is an offset of 0x80 for the register values if bAntDiversity is true. -> Consolidate both branches and assign the offset if necessary. Signed-off-by: Peter Huewe <peterhuewe@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>