]> git.baikalelectronics.ru Git - kernel.git/commit
rt2x00: correct address calc for queue private data
authorAdam Baker <linux@baker-net.org.uk>
Sun, 10 Feb 2008 21:48:19 +0000 (22:48 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 29 Feb 2008 20:37:18 +0000 (15:37 -0500)
commit6eec2e4b6e9ee9e45e5d009958eafd90ac0e5983
treeee5a745fa4bdbe9ac694bdb8815819bb18af986e
parentcd8860309f33e53b472601cca21d84e49f0030c1
rt2x00: correct address calc for queue private data

When calculating the offset to add to the queue entry base to get the
individual entry's private data area the base address must be treated
as a char * not a struct queue_entry so we can do byte oriented
pointer arithmetic with it.

Signed-off-by: Adam Baker <linux@baker-net.org.uk>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00queue.c