hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
kernel/drivers/net/wireless/ralink/rt2x00/rt2x00queue.c
....@@ -1,21 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 Copyright (C) 2010 Willow Garage <http://www.willowgarage.com>
34 Copyright (C) 2004 - 2010 Ivo van Doorn <IvDoorn@gmail.com>
45 Copyright (C) 2004 - 2009 Gertjan van Wingerde <gwingerde@gmail.com>
56 <http://rt2x00.serialmonkey.com>
67
7
- This program is free software; you can redistribute it and/or modify
8
- it under the terms of the GNU General Public License as published by
9
- the Free Software Foundation; either version 2 of the License, or
10
- (at your option) any later version.
11
-
12
- This program is distributed in the hope that it will be useful,
13
- but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
- GNU General Public License for more details.
16
-
17
- You should have received a copy of the GNU General Public License
18
- along with this program; if not, see <http://www.gnu.org/licenses/>.
198 */
209
2110 /*
....@@ -113,6 +102,7 @@
113102 return -ENOMEM;
114103
115104 skbdesc->flags |= SKBDESC_DMA_MAPPED_TX;
105
+ rt2x00lib_dmadone(entry);
116106 return 0;
117107 }
118108 EXPORT_SYMBOL_GPL(rt2x00queue_map_txskb);
....@@ -673,7 +663,7 @@
673663 spin_lock(&queue->tx_lock);
674664
675665 if (unlikely(rt2x00queue_full(queue))) {
676
- rt2x00_err(queue->rt2x00dev, "Dropping frame due to full tx queue %d\n",
666
+ rt2x00_dbg(queue->rt2x00dev, "Dropping frame due to full tx queue %d\n",
677667 queue->qid);
678668 ret = -ENOBUFS;
679669 goto out;