diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-08-22 20:53:22 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-08-26 14:09:01 -0400 |
commit | 634b80595fef79071d82bc231b7f82c4f808a1e8 (patch) | |
tree | 2cc23217226bd567c88f99f615b905196245401d /fs/nls/nls_cp864.c | |
parent | 21c6af6b69b609b7934caaccda1b4535dceb402c (diff) |
rt2x00: rt2800lib: don't hardcode beacon offsets
The values written into the BCN_OFFSET[01] registers are
hardcoded in the rt2800_init_register function.
Add a macro and a helper function to derive these values
directly from the base address of a given beacon, and use
the new function instead of the hardcoded numbers.
The patch contains no functional changes. The programmed
register values are the same before and after the patch.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'fs/nls/nls_cp864.c')
0 files changed, 0 insertions, 0 deletions