From patchwork Fri Jan 9 19:15:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bob Copeland X-Patchwork-Id: 5602281 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B7461C058D for ; Fri, 9 Jan 2015 19:18:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BD1D420634 for ; Fri, 9 Jan 2015 19:18:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8B1E520630 for ; Fri, 9 Jan 2015 19:18:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758172AbbAITS0 (ORCPT ); Fri, 9 Jan 2015 14:18:26 -0500 Received: from mail-ob0-f177.google.com ([209.85.214.177]:58664 "EHLO mail-ob0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758084AbbAITSX (ORCPT ); Fri, 9 Jan 2015 14:18:23 -0500 Received: by mail-ob0-f177.google.com with SMTP id va2so14204262obc.8 for ; Fri, 09 Jan 2015 11:18:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=8jcUpYXsDKSsHOCE9IV7r0Cj/R7ROAAqvl0sHJjkOaU=; b=PJl74n+dZOz1YC8qsdm1fCZLc/G80Y9siyf3RCAgt8R4d7+cKIEDTb960p8OAYuRS9 WOIds/c+0DpaIZ8Iql4bZs05BGYEuy9c3ro8VGOSZv5kMUbK0z36Dcah6fjuicuVrsav 5c7AxmVit6BsivNrho73VErxiGTzsu4LCZiVNDJPpl5aHx9s/mkQyemNJehAOD9z2tnf oHv/hR6EhEv8Dj+oICUOLcJHwm6yzZv1KnbQQlBfzJjRzUmqNEgS1GW3ZWM/BcbG6qyr yoUuKX1UyX0NIkNwhxFEDgKLUAUapPx4j9VNKZQka08736v4HLbZTRrOB6+0KdNlvJKO uB/A== X-Gm-Message-State: ALoCoQnuHuIgpIx4YlLSWRkb5a+Yz343RRY7IdCp/XnIw+ZCsGmSyGRW3y4XRmN1tmc8qPjUEvFB X-Received: by 10.202.3.3 with SMTP id 3mr9686774oid.11.1420831102829; Fri, 09 Jan 2015 11:18:22 -0800 (PST) Received: from hash ([2001:470:1d:6db:230:48ff:fe9d:9c89]) by mx.google.com with ESMTPSA id z184sm4807211oie.0.2015.01.09.11.18.19 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 09 Jan 2015 11:18:21 -0800 (PST) Received: from bob by hash with local (Exim 4.80) (envelope-from ) id 1Y9f3V-0002XG-3t; Fri, 09 Jan 2015 14:17:09 -0500 From: Bob Copeland To: linux-wireless@vger.kernel.org Cc: Eugene Krasnikov , Bob Copeland Subject: [PATCH 6/8] wcn36xx: initialize dxe lock Date: Fri, 9 Jan 2015 14:15:50 -0500 Message-Id: <1420830952-9624-7-git-send-email-me@bobcopeland.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1420830952-9624-1-git-send-email-me@bobcopeland.com> References: <1420830952-9624-1-git-send-email-me@bobcopeland.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The dxe lock is missing its initialization, so add it. Signed-off-by: Bob Copeland --- drivers/net/wireless/ath/wcn36xx/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/ath/wcn36xx/main.c b/drivers/net/wireless/ath/wcn36xx/main.c index 7dd8873..972bb3e 100644 --- a/drivers/net/wireless/ath/wcn36xx/main.c +++ b/drivers/net/wireless/ath/wcn36xx/main.c @@ -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: