From patchwork Thu Jul 21 16:31:07 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bob Copeland X-Patchwork-Id: 9241937 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 64418607D3 for ; Thu, 21 Jul 2016 16:31:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 562AD27F46 for ; Thu, 21 Jul 2016 16:31:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4AF6E27F85; Thu, 21 Jul 2016 16:31:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B8CAA27F46 for ; Thu, 21 Jul 2016 16:31:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753331AbcGUQbh (ORCPT ); Thu, 21 Jul 2016 12:31:37 -0400 Received: from mail-it0-f65.google.com ([209.85.214.65]:35938 "EHLO mail-it0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753217AbcGUQbf (ORCPT ); Thu, 21 Jul 2016 12:31:35 -0400 Received: by mail-it0-f65.google.com with SMTP id j124so1479330ith.3 for ; Thu, 21 Jul 2016 09:31:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bobcopeland-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=dRtYaZncRtPK8LJWndgEcx/cdl0y2edHGcO7NZlB/1U=; b=osXnquNbg9mQllStxNSmqaKAWHwK6U+ceB1A29VTV//GMXJZYEJ83ZEibNKxpM98pX gogO15Cz46vEjurQnd4eVo9YPLqNYs63Q+7gTT9OA/uhSDfxQx0uoQTZOAyyOx5S8x12 kX+07zvMxEO64FjkXAjVMiTdmdVut4H45MWeMmoRSEnmnNBT4HyMyo/KQdg7viP/INz3 LtDncFsqBqkvSYtXGXw6MughKNOuMNjJtd+T9Fp8G4tKGvy6eTh+z/z9/Enl9A+Dvqp4 9XSBiAMGsVnP7mn1tsJoZ+CU4WCOKWqbapWUd1QfQq5SUIS1ih00JGPHqIoHihqsuvLj pp7A== 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; bh=dRtYaZncRtPK8LJWndgEcx/cdl0y2edHGcO7NZlB/1U=; b=bRrEHQFab53Tt910u+zuXQsCaLWJmc4sNqxaDHDu+RHgdMM5fbLhK5g2nNq9ULAQ1T nYsjHtYw0W5CO/gf3Rb9N2kWQ3PkyUcSEQ9SwXkEUFeX7lhQ57eLrWRtx4wWNhg/ZzeP +UxxaIKDU8+n1jKSak9ZOHk3cNMtcX4KoyUI8HC4jm5NHXD+rBlItWUHPUZc95GJrwND kOzHbh+hKOYEIflXeMgREDkeAqaOs+SgCwMEt25djxrXt0SN1GwRSu64r1DLWZTP251y jaZ9rOtFdR9ab/w299xcexu1x5rHU6MWXK9dYu7H9cEpPMPgnam+cZ1H/1hUWvo8jW2E 2GSw== X-Gm-Message-State: ALyK8tL6FwjFB3It/CmuMCEpFf5QH8WeGxGj2MEVbi++cbhmjKw7qwEI9kc337hjG/yqsQ== X-Received: by 10.36.192.9 with SMTP id u9mr9441825itf.86.1469118694690; Thu, 21 Jul 2016 09:31:34 -0700 (PDT) Received: from hash (CPE0018e7fe5281-CM18593342f28f.cpe.net.cable.rogers.com. [99.254.238.186]) by smtp.gmail.com with ESMTPSA id o15sm2103769ith.2.2016.07.21.09.31.33 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Jul 2016 09:31:34 -0700 (PDT) Received: from bob by hash with local (Exim 4.84_2) (envelope-from ) id 1bQGsi-0000Bp-Di; Thu, 21 Jul 2016 12:31:28 -0400 From: Bob Copeland To: linux-wireless@vger.kernel.org Cc: Bob Copeland Subject: [PATCH] ath9k: fix misleading indent Date: Thu, 21 Jul 2016 12:31:07 -0400 Message-Id: <20160721163107.686-1-me@bobcopeland.com> X-Mailer: git-send-email 2.9.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fixes smatch warning: ath9k_vif_iter_set_beacon() warn if statement not indented Signed-off-by: Bob Copeland Reviewed-by: Julian Calaby --- drivers/net/wireless/ath/ath9k/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index 7594650..70ca746 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c @@ -919,7 +919,7 @@ static void ath9k_vif_iter_set_beacon(struct ath9k_vif_iter_data *iter_data, } else { if (iter_data->primary_beacon_vif->type != NL80211_IFTYPE_AP && vif->type == NL80211_IFTYPE_AP) - iter_data->primary_beacon_vif = vif; + iter_data->primary_beacon_vif = vif; } iter_data->beacons = true;