mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacmn: Add missing lock initialization for tx_lock used for me_buf_pool
CRs-Fixed: 2004658 Change-Id: I930fc823ce2b4d4a91f0bc949291d199ba783862
This commit is contained in:
parent
3d8e1e8655
commit
9c9a2871a7
1 changed files with 2 additions and 0 deletions
|
|
@ -1175,6 +1175,7 @@ static struct cdp_pdev *dp_pdev_attach_wifi3(struct cdp_soc_t *txrx_soc,
|
|||
TAILQ_INIT(&pdev->vdev_list);
|
||||
pdev->vdev_count = 0;
|
||||
|
||||
qdf_spinlock_create(&pdev->tx_mutex);
|
||||
qdf_spinlock_create(&pdev->neighbour_peer_mutex);
|
||||
TAILQ_INIT(&pdev->neighbour_peers_list);
|
||||
|
||||
|
|
@ -1370,6 +1371,7 @@ static void dp_pdev_detach_wifi3(struct cdp_pdev *txrx_pdev, int force)
|
|||
dp_rx_pdev_mon_detach(pdev);
|
||||
|
||||
dp_neighbour_peers_detach(pdev);
|
||||
qdf_spinlock_destroy(&pdev->tx_mutex);
|
||||
|
||||
/* Setup per PDEV REO rings if configured */
|
||||
if (wlan_cfg_per_pdev_rx_ring(soc->wlan_cfg_ctx)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue