projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfa6696
)
wcn36xx: initialize skb_lock
author
Bob Copeland
<me@bobcopeland.com>
Fri, 9 Jan 2015 19:15:49 +0000
(14:15 -0500)
committer
Kalle Valo
<kvalo@codeaurora.org>
Fri, 23 Jan 2015 17:12:04 +0000
(19:12 +0200)
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>
drivers/net/wireless/ath/wcn36xx/dxe.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wireless/ath/wcn36xx/dxe.c
b/drivers/net/wireless/ath/wcn36xx/dxe.c
index 3d6bc9b8717677d359767f2a5e258e2c7c8ec4f2..086549b732b95097710276206bf63038ef315414 100644
(file)
--- 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;