aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00pci.c1
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00usb.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00pci.c b/drivers/net/wireless/rt2x00/rt2x00pci.c
index 1960d938d73b..7867ec64bd2c 100644
--- a/drivers/net/wireless/rt2x00/rt2x00pci.c
+++ b/drivers/net/wireless/rt2x00/rt2x00pci.c
@@ -67,6 +67,7 @@ int rt2x00pci_write_tx_data(struct rt2x00_dev *rt2x00dev,
67 skbdesc->desc_len = queue->desc_size; 67 skbdesc->desc_len = queue->desc_size;
68 skbdesc->entry = entry; 68 skbdesc->entry = entry;
69 69
70 memcpy(&priv_tx->control, control, sizeof(priv_tx->control));
70 memcpy(priv_tx->data, skb->data, skb->len); 71 memcpy(priv_tx->data, skb->data, skb->len);
71 rt2x00lib_write_tx_desc(rt2x00dev, skb, control); 72 rt2x00lib_write_tx_desc(rt2x00dev, skb, control);
72 73
diff --git a/drivers/net/wireless/rt2x00/rt2x00usb.c b/drivers/net/wireless/rt2x00/rt2x00usb.c
index 512ff3914813..eec91111e765 100644
--- a/drivers/net/wireless/rt2x00/rt2x00usb.c
+++ b/drivers/net/wireless/rt2x00/rt2x00usb.c
@@ -206,6 +206,7 @@ int rt2x00usb_write_tx_data(struct rt2x00_dev *rt2x00dev,
206 skbdesc->desc_len = queue->desc_size; 206 skbdesc->desc_len = queue->desc_size;
207 skbdesc->entry = entry; 207 skbdesc->entry = entry;
208 208
209 memcpy(&priv_tx->control, control, sizeof(priv_tx->control));
209 rt2x00lib_write_tx_desc(rt2x00dev, skb, control); 210 rt2x00lib_write_tx_desc(rt2x00dev, skb, control);
210 211
211 /* 212 /*