diff options
author | Bob Copeland <me@bobcopeland.com> | 2015-01-09 22:15:49 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-01-23 20:12:04 +0300 |
commit | 90dccb73e985a4efb278dcab83cd57d40aa35419 (patch) | |
tree | 2dd6b22fac409e378399181c7e78b20ca1d7cb7b /drivers/net/wireless/ath/wcn36xx | |
parent | bfa6696b39ae4da554a8b8ec9d17bba1ed6ae889 (diff) | |
download | linux-90dccb73e985a4efb278dcab83cd57d40aa35419.tar.xz |
wcn36xx: initialize skb_lock
ctl->skb_lock is never initialized, a fact caught by lockdep.
Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/wcn36xx')
-rw-r--r-- | drivers/net/wireless/ath/wcn36xx/dxe.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |