summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2400pci.c
diff options
context:
space:
mode:
authorIvo van Doorn <ivdoorn@gmail.com>2008-03-09 22:41:53 +0100
committerJohn W. Linville <linville@tuxdriver.com>2008-03-13 16:02:34 -0400
commit3976ae6c2b09608cd6a13663737a6b219245b651 (patch)
treec8d7b4b7a20fd9fe953d30c432e17bc3c60cef11 /drivers/net/wireless/rt2x00/rt2400pci.c
parent2ae23854dc0af617d9a0e3ab51a0cc51485ebbf2 (diff)
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 <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2400pci.c')
0 files changed, 0 insertions, 0 deletions