[PATCH] wcn36xx: initialize dxe lock

Bob Copeland me at bobcopeland.com
Fri Mar 21 10:48:15 EDT 2014


The dxe lock is missing its initialization, so add it.

Signed-off-by: Bob Copeland <bob at cozybit.com>
---
One more lock initialization fix - I'll open a github pull request
for this plus the other two patches sent earlier this week.

 main.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/main.c b/main.c
index 10ef672..8908d3a 100644
--- a/main.c
+++ b/main.c
@@ -300,6 +300,8 @@ static int wcn36xx_start(struct ieee80211_hw *hw)
 	wcn36xx_debugfs_init(wcn);
 
 	INIT_LIST_HEAD(&wcn->vif_list);
+	spin_lock_init(&wcn->dxe_lock);
+
 	return 0;
 
 out_smd_stop:
-- 
1.7.10.4




More information about the wcn36xx mailing list