mwifiex: replace rx_pkt_lock by rx_reorder_tbl_lock
authorGanapathi Bhat <gbhat@marvell.com>
Wed, 27 Jun 2018 06:13:38 +0000 (11:43 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 31 Jul 2018 07:11:33 +0000 (10:11 +0300)
commit5631909364e1e74b6188ec860d2a4cf216150a26
tree03f6f4057470f03eb9001ccd06c3601b1602a757
parentd0db2f7a02e45dd4791b70404bd90874b20c38a4
mwifiex: replace rx_pkt_lock by rx_reorder_tbl_lock

At present driver spinlock protects iteration of list
rx_reorder_tbl_ptr with rx_reorder_tbl_lock. To protect the
individual items in this list, it uses rx_pkt_lock. But, we can
use a single rx_reorder_tbl_lock for both purposes. This patch
replaces rx_pkt_lock by rx_reorder_tbl_lock.

Signed-off-by: Ganapathi Bhat <gbhat@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c
drivers/net/wireless/marvell/mwifiex/init.c
drivers/net/wireless/marvell/mwifiex/main.h