mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
net: wireless: bcmdhd: Add spinlock initialization
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
This commit is contained in:
committed by
Colin Cross
parent
6db994e17e
commit
bce30c12f0
@@ -2482,6 +2482,7 @@ dhd_attach(osl_t *osh, struct dhd_bus *bus, uint bus_hdrlen)
|
||||
/* Initialize the spinlocks */
|
||||
spin_lock_init(&dhd->sdlock);
|
||||
spin_lock_init(&dhd->txqlock);
|
||||
spin_lock_init(&dhd->dhd_lock);
|
||||
|
||||
/* Initialize Wakelock stuff */
|
||||
spin_lock_init(&dhd->wakelock_spinlock);
|
||||
|
||||
Reference in New Issue
Block a user