diff options
| author | Gabor Juhos <[email protected]> | 2013-08-22 20:53:22 +0200 |
|---|---|---|
| committer | John W. Linville <[email protected]> | 2013-08-26 14:09:01 -0400 |
| commit | 634b80595fef79071d82bc231b7f82c4f808a1e8 (patch) | |
| tree | 2cc23217226bd567c88f99f615b905196245401d /tools/perf/scripts/python/net_dropmonitor.py | |
| 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 <[email protected]>
Acked-by: Helmut Schaa <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions