From: Dmitry Shmidt Date: Wed, 1 Jun 2011 22:22:10 +0000 (-0700) Subject: net: wireless: bcmdhd: Add spinlock initialization X-Git-Tag: firefly_0821_release~7613^2~627 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=bce30c12f02974ca30399e7b4dd538ec4fbca0b7;p=firefly-linux-kernel-4.4.55.git net: wireless: bcmdhd: Add spinlock initialization Signed-off-by: Dmitry Shmidt --- diff --git a/drivers/net/wireless/bcmdhd/dhd_linux.c b/drivers/net/wireless/bcmdhd/dhd_linux.c index 9d169716e405..f76b5a64389d 100644 --- a/drivers/net/wireless/bcmdhd/dhd_linux.c +++ b/drivers/net/wireless/bcmdhd/dhd_linux.c @@ -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);