aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00pci.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00pci.c b/drivers/net/wireless/rt2x00/rt2x00pci.c
index b8c6a8c9d6d2..8f88ca23c23a 100644
--- a/drivers/net/wireless/rt2x00/rt2x00pci.c
+++ b/drivers/net/wireless/rt2x00/rt2x00pci.c
@@ -63,7 +63,7 @@ int rt2x00pci_write_tx_data(struct rt2x00_dev *rt2x00dev,
63 skbdesc = get_skb_frame_desc(skb); 63 skbdesc = get_skb_frame_desc(skb);
64 memset(skbdesc, 0, sizeof(*skbdesc)); 64 memset(skbdesc, 0, sizeof(*skbdesc));
65 skbdesc->data = skb->data; 65 skbdesc->data = skb->data;
66 skbdesc->data_len = queue->data_size; 66 skbdesc->data_len = skb->len;
67 skbdesc->desc = priv_tx->desc; 67 skbdesc->desc = priv_tx->desc;
68 skbdesc->desc_len = queue->desc_size; 68 skbdesc->desc_len = queue->desc_size;
69 skbdesc->entry = entry; 69 skbdesc->entry = entry;
@@ -131,7 +131,7 @@ void rt2x00pci_rxdone(struct rt2x00_dev *rt2x00dev)
131 skbdesc = get_skb_frame_desc(entry->skb); 131 skbdesc = get_skb_frame_desc(entry->skb);
132 memset(skbdesc, 0, sizeof(*skbdesc)); 132 memset(skbdesc, 0, sizeof(*skbdesc));
133 skbdesc->data = entry->skb->data; 133 skbdesc->data = entry->skb->data;
134 skbdesc->data_len = queue->data_size; 134 skbdesc->data_len = entry->skb->len;
135 skbdesc->desc = priv_rx->desc; 135 skbdesc->desc = priv_rx->desc;
136 skbdesc->desc_len = queue->desc_size; 136 skbdesc->desc_len = queue->desc_size;
137 skbdesc->entry = entry; 137 skbdesc->entry = entry;