From: Ivo van Doorn Date: Sun, 9 Mar 2008 21:41:53 +0000 (+0100) Subject: rt2x00: Use skbdesc fields for descriptor initialization X-Git-Tag: v2.6.26-rc1~1138^2~439 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3976ae6c2b09608cd6a13663737a6b219245b651;p=pandora-kernel.git rt2x00: Use skbdesc fields for descriptor initialization In rt2x00lib_write_tx_desc() the skb->data and skb->len fields were incorrectly used. For USB drivers both of those values contain invalid data (skb->data points to the device descriptor, skb->len contains the frame _and_ descriptor length). Instead of using the skbuffer fields we should use the skbdesc fields which are correctly initialized and contain all the data that we need. Signed-off-by: Ivo van Doorn Signed-off-by: John W. Linville --- Reading git-diff-tree failed