diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-01-06 17:42:04 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:09:28 -0500 |
commit | 7d1de80644dad9cd6db6e00984bd12d6cae63855 (patch) | |
tree | 9e2a6bdf4f5d8353a8646b36d2216210a8252616 /drivers/net/wireless/rt2x00/rt2x00usb.c | |
parent | 837e7f247a8ed3f5577462655f8099a81b360422 (diff) |
rt2x00: Correctly initialize data and desc pointer
rt2500usb and rt73usb store the descriptor in different
places. This means we should move the initialization of
the 2 pointers to the driver callback function fill_rxdone().
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/rt2x00usb.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00usb.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00usb.c b/drivers/net/wireless/rt2x00/rt2x00usb.c index 63726a152a1a..d7d3a271b1b0 100644 --- a/drivers/net/wireless/rt2x00/rt2x00usb.c +++ b/drivers/net/wireless/rt2x00/rt2x00usb.c | |||
@@ -303,8 +303,6 @@ static void rt2x00usb_interrupt_rxdone(struct urb *urb) | |||
303 | skbdesc = get_skb_desc(entry->skb); | 303 | skbdesc = get_skb_desc(entry->skb); |
304 | skbdesc->desc_len = entry->ring->desc_size; | 304 | skbdesc->desc_len = entry->ring->desc_size; |
305 | skbdesc->data_len = entry->skb->len; | 305 | skbdesc->data_len = entry->skb->len; |
306 | skbdesc->desc = entry->skb->data - skbdesc->desc_len; | ||
307 | skbdesc->data = entry->skb->data; | ||
308 | skbdesc->ring = ring; | 306 | skbdesc->ring = ring; |
309 | skbdesc->entry = entry; | 307 | skbdesc->entry = entry; |
310 | 308 | ||