hc
2024-02-19 1c055e55a242a33e574e48be530e06770a210dcd
kernel/drivers/net/wireless/marvell/mwifiex/txrx.c
....@@ -1,10 +1,10 @@
11 /*
2
- * Marvell Wireless LAN device driver: generic TX/RX data handling
2
+ * NXP Wireless LAN device driver: generic TX/RX data handling
33 *
4
- * Copyright (C) 2011-2014, Marvell International Ltd.
4
+ * Copyright 2011-2020 NXP
55 *
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
88 * (the "License"). You may use, redistribute and/or modify this File in
99 * accordance with the terms and conditions of the License, a copy of which
1010 * is available by writing to the Free Software Foundation, Inc.,
....@@ -334,15 +334,14 @@
334334 {
335335 struct tx_status_event *tx_status = (void *)priv->adapter->event_body;
336336 struct sk_buff *ack_skb;
337
- unsigned long flags;
338337 struct mwifiex_txinfo *tx_info;
339338
340339 if (!tx_status->tx_token_id)
341340 return;
342341
343
- spin_lock_irqsave(&priv->ack_status_lock, flags);
342
+ spin_lock_bh(&priv->ack_status_lock);
344343 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);
346345
347346 if (ack_skb) {
348347 tx_info = MWIFIEX_SKB_TXCB(ack_skb);