From: Bob Copeland Date: Fri, 9 Jan 2015 19:15:49 +0000 (-0500) Subject: wcn36xx: initialize skb_lock X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=90dccb73e985a4efb278dcab83cd57d40aa35419;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git wcn36xx: initialize skb_lock ctl->skb_lock is never initialized, a fact caught by lockdep. Signed-off-by: Bob Copeland Signed-off-by: Kalle Valo --- diff --git a/drivers/net/wireless/ath/wcn36xx/dxe.c b/drivers/net/wireless/ath/wcn36xx/dxe.c index 3d6bc9b87176..086549b732b9 100644 --- a/drivers/net/wireless/ath/wcn36xx/dxe.c +++ b/drivers/net/wireless/ath/wcn36xx/dxe.c @@ -84,6 +84,7 @@ static int wcn36xx_dxe_allocate_ctl_block(struct wcn36xx_dxe_ch *ch) if (!cur_ctl) goto out_fail; + spin_lock_init(&cur_ctl->skb_lock); cur_ctl->ctl_blk_order = i; if (i == 0) { ch->head_blk_ctl = cur_ctl;