wcn36xx: initialize dxe lock
authorBob Copeland <me@bobcopeland.com>
Fri, 9 Jan 2015 19:15:50 +0000 (14:15 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 23 Jan 2015 17:12:06 +0000 (19:12 +0200)
The dxe lock is missing its initialization, so add it.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wcn36xx/main.c

index 7dd8873f757e89b986b1274702db4014da6e02c6..972bb3e653a172d05bf557977530453254e7b175 100644 (file)
@@ -298,6 +298,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: