.. | .. |
---|
1 | 1 | /* |
---|
2 | | - * Marvell Wireless LAN device driver: 802.11n |
---|
| 2 | + * NXP Wireless LAN device driver: 802.11n |
---|
3 | 3 | * |
---|
4 | | - * Copyright (C) 2011-2014, Marvell International Ltd. |
---|
| 4 | + * Copyright 2011-2020 NXP |
---|
5 | 5 | * |
---|
6 | | - * This software file (the "File") is distributed by Marvell International |
---|
7 | | - * Ltd. under the terms of the GNU General Public License Version 2, June 1991 |
---|
| 6 | + * This software file (the "File") is distributed by NXP |
---|
| 7 | + * under the terms of the GNU General Public License Version 2, June 1991 |
---|
8 | 8 | * (the "License"). You may use, redistribute and/or modify this File in |
---|
9 | 9 | * accordance with the terms and conditions of the License, a copy of which |
---|
10 | 10 | * is available by writing to the Free Software Foundation, Inc., |
---|
.. | .. |
---|
147 | 147 | int tid; |
---|
148 | 148 | u8 ret = false; |
---|
149 | 149 | struct mwifiex_tx_ba_stream_tbl *tx_tbl; |
---|
150 | | - unsigned long flags; |
---|
151 | 150 | |
---|
152 | 151 | tid = priv->aggr_prio_tbl[ptr_tid].ampdu_user; |
---|
153 | 152 | |
---|
154 | | - spin_lock_irqsave(&priv->tx_ba_stream_tbl_lock, flags); |
---|
| 153 | + spin_lock_bh(&priv->tx_ba_stream_tbl_lock); |
---|
155 | 154 | list_for_each_entry(tx_tbl, &priv->tx_ba_stream_tbl_ptr, list) { |
---|
156 | 155 | if (tid > priv->aggr_prio_tbl[tx_tbl->tid].ampdu_user) { |
---|
157 | 156 | tid = priv->aggr_prio_tbl[tx_tbl->tid].ampdu_user; |
---|
.. | .. |
---|
160 | 159 | ret = true; |
---|
161 | 160 | } |
---|
162 | 161 | } |
---|
163 | | - spin_unlock_irqrestore(&priv->tx_ba_stream_tbl_lock, flags); |
---|
| 162 | + spin_unlock_bh(&priv->tx_ba_stream_tbl_lock); |
---|
164 | 163 | |
---|
165 | 164 | return ret; |
---|
166 | 165 | } |
---|