diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-08-17 00:15:49 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-08-22 14:30:25 -0400 |
commit | 91a3fa39ddf2f85a15cb20ccc3a54c1f0497af1e (patch) | |
tree | 3589e840381bf45d07d2925b8bb706cf41fbdf24 /drivers/net/wireless/rt2x00/rt2800lib.c | |
parent | 69b307a48a5e10d5fd53dbbfae1c700da356bd5d (diff) | |
download | linux-91a3fa39ddf2f85a15cb20ccc3a54c1f0497af1e.tar.gz linux-91a3fa39ddf2f85a15cb20ccc3a54c1f0497af1e.tar.bz2 linux-91a3fa39ddf2f85a15cb20ccc3a54c1f0497af1e.zip |
rt2x00: rt2800: rename HW_BEACON_OFFSET macro
The name of the HW_BEACON_OFFSET macro is a
bit confusing. It returns with one of the
HW_BEACON_BASE* values, so rename the macro
to HW_BEACON_BASE to reflect that.
The patch contains no functional changes.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2800lib.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2800lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800lib.c b/drivers/net/wireless/rt2x00/rt2800lib.c index 313da6ac2ee4..704fcfbca06b 100644 --- a/drivers/net/wireless/rt2x00/rt2800lib.c +++ b/drivers/net/wireless/rt2x00/rt2800lib.c @@ -992,7 +992,7 @@ void rt2800_write_beacon(struct queue_entry *entry, struct txentry_desc *txdesc) return; } - beacon_base = HW_BEACON_OFFSET(entry->entry_idx); + beacon_base = HW_BEACON_BASE(entry->entry_idx); rt2800_register_multiwrite(rt2x00dev, beacon_base, entry->skb->data, entry->skb->len + padding_len); @@ -1042,7 +1042,7 @@ void rt2800_clear_beacon(struct queue_entry *entry) * Clear beacon. */ rt2800_clear_beacon_register(rt2x00dev, - HW_BEACON_OFFSET(entry->entry_idx)); + HW_BEACON_BASE(entry->entry_idx)); /* * Enabled beaconing again. |