commit | 231be4e92cc0398781e6acda0e3f8ea54a7fa10f | [log] [tgz] |
---|---|---|
author | Adam Baker <linux@baker-net.org.uk> | Sun Feb 10 22:48:19 2008 +0100 |
committer | John W. Linville <linville@tuxdriver.com> | Fri Feb 29 15:37:18 2008 -0500 |
tree | ee5a745fa4bdbe9ac694bdb8815819bb18af986e | |
parent | 16938a24ae19562f078fd43a28500526ff78cd87 [diff] |
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>