rt2x00: rt2800lib: pass beacon index to rt2800_clear_beacon_register
authorGabor Juhos <juhosg@openwrt.org>
Fri, 16 Aug 2013 22:15:50 +0000 (00:15 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 22 Aug 2013 18:30:26 +0000 (14:30 -0400)
Instead of precomputing the beacon base in
each caller, pass the beacon index to the
'rt2800_clear_beacon_register' function
and compute the beacon base in there.

This allows to simplify the caller functions
a bit.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found