aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt61pci.c
diff options
context:
space:
mode:
authorGertjan van Wingerde <gwingerde@gmail.com>2010-06-29 15:41:40 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-06-30 15:00:50 -0400
commite513a0b6f1bf8e1b59b0e1382d4e7ef3d344d535 (patch)
tree6cc2ff94dd486eb4b5eb7b6d2aabc0bff4b033c5 /drivers/net/wireless/rt2x00/rt61pci.c
parent78eea11b0e6ae5771bc19cc46984f1cdcbbb6ba1 (diff)
rt2x00: Move common txdone handling to rt2x00lib_txdone.
Now that the write_tx_data functions are merged, also merge the relevant parts of the txdone handling into common code, rather than {usb,pci} specific code. Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com> 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/rt61pci.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt61pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt61pci.c b/drivers/net/wireless/rt2x00/rt61pci.c
index cb6e20a1046e..1e74f8c1b9c5 100644
--- a/drivers/net/wireless/rt2x00/rt61pci.c
+++ b/drivers/net/wireless/rt2x00/rt61pci.c
@@ -2108,7 +2108,7 @@ static void rt61pci_txdone(struct rt2x00_dev *rt2x00dev)
2108 __set_bit(TXDONE_UNKNOWN, &txdesc.flags); 2108 __set_bit(TXDONE_UNKNOWN, &txdesc.flags);
2109 txdesc.retry = 0; 2109 txdesc.retry = 0;
2110 2110
2111 rt2x00pci_txdone(entry_done, &txdesc); 2111 rt2x00lib_txdone(entry_done, &txdesc);
2112 entry_done = rt2x00queue_get_entry(queue, Q_INDEX_DONE); 2112 entry_done = rt2x00queue_get_entry(queue, Q_INDEX_DONE);
2113 } 2113 }
2114 2114
@@ -2135,7 +2135,7 @@ static void rt61pci_txdone(struct rt2x00_dev *rt2x00dev)
2135 if (txdesc.retry) 2135 if (txdesc.retry)
2136 __set_bit(TXDONE_FALLBACK, &txdesc.flags); 2136 __set_bit(TXDONE_FALLBACK, &txdesc.flags);
2137 2137
2138 rt2x00pci_txdone(entry, &txdesc); 2138 rt2x00lib_txdone(entry, &txdesc);
2139 } 2139 }
2140} 2140}
2141 2141