From: Ivo van Doorn Date: Fri, 6 Aug 2010 18:47:20 +0000 (+0200) Subject: rt2x00: Request TXWI pointer from driver X-Git-Tag: v2.6.37-rc1~147^2~679^2~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c5879bc62f9b8eb31520a86213466f3a68ec794;p=pandora-kernel.git rt2x00: Request TXWI pointer from driver The only reason why the write_tx_data callback function is needed inside the driver, is because the location of the TXWI descriptor is different on PCI and USB hardware. Except for the beacon, where the TXWI is always at the start of the SKB buffer. In both cases the drivers write_tx_data function only wrap around the function rt2800_write_txwi. Move write_tx_data completely into the rt2800lib library, and add a callback function to obtain the TXWI pointer. Signed-off-by: Ivo van Doorn Acked-by: Helmut Schaa Signed-off-by: John W. Linville --- Reading git-diff-tree failed