.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | Copyright (C) 2010 Willow Garage <http://www.willowgarage.com> |
---|
3 | 4 | Copyright (C) 2004 - 2010 Ivo van Doorn <IvDoorn@gmail.com> |
---|
4 | 5 | Copyright (C) 2004 - 2009 Gertjan van Wingerde <gwingerde@gmail.com> |
---|
5 | 6 | <http://rt2x00.serialmonkey.com> |
---|
6 | 7 | |
---|
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/>. |
---|
19 | 8 | */ |
---|
20 | 9 | |
---|
21 | 10 | /* |
---|
.. | .. |
---|
113 | 102 | return -ENOMEM; |
---|
114 | 103 | |
---|
115 | 104 | skbdesc->flags |= SKBDESC_DMA_MAPPED_TX; |
---|
| 105 | + rt2x00lib_dmadone(entry); |
---|
116 | 106 | return 0; |
---|
117 | 107 | } |
---|
118 | 108 | EXPORT_SYMBOL_GPL(rt2x00queue_map_txskb); |
---|
.. | .. |
---|
673 | 663 | spin_lock(&queue->tx_lock); |
---|
674 | 664 | |
---|
675 | 665 | 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", |
---|
677 | 667 | queue->qid); |
---|
678 | 668 | ret = -ENOBUFS; |
---|
679 | 669 | goto out; |
---|