| .. | .. |
|---|
| 1 | 1 | /* |
|---|
| 2 | | - * Marvell Wireless LAN device driver: generic TX/RX data handling |
|---|
| 2 | + * NXP Wireless LAN device driver: generic TX/RX data handling |
|---|
| 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., |
|---|
| .. | .. |
|---|
| 334 | 334 | { |
|---|
| 335 | 335 | struct tx_status_event *tx_status = (void *)priv->adapter->event_body; |
|---|
| 336 | 336 | struct sk_buff *ack_skb; |
|---|
| 337 | | - unsigned long flags; |
|---|
| 338 | 337 | struct mwifiex_txinfo *tx_info; |
|---|
| 339 | 338 | |
|---|
| 340 | 339 | if (!tx_status->tx_token_id) |
|---|
| 341 | 340 | return; |
|---|
| 342 | 341 | |
|---|
| 343 | | - spin_lock_irqsave(&priv->ack_status_lock, flags); |
|---|
| 342 | + spin_lock_bh(&priv->ack_status_lock); |
|---|
| 344 | 343 | ack_skb = idr_remove(&priv->ack_status_frames, tx_status->tx_token_id); |
|---|
| 345 | | - spin_unlock_irqrestore(&priv->ack_status_lock, flags); |
|---|
| 344 | + spin_unlock_bh(&priv->ack_status_lock); |
|---|
| 346 | 345 | |
|---|
| 347 | 346 | if (ack_skb) { |
|---|
| 348 | 347 | tx_info = MWIFIEX_SKB_TXCB(ack_skb); |
|---|