Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp721016ybt; Fri, 26 Jun 2020 09:56:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwdHNIKdvRHoBJL8gP6/50YsYyBy7VawsdASWXa9EuJJf1EGYFy7Y2sTDrJMLOj/kZhJYNu X-Received: by 2002:a17:906:c40d:: with SMTP id u13mr3243511ejz.519.1593190598963; Fri, 26 Jun 2020 09:56:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593190598; cv=none; d=google.com; s=arc-20160816; b=UGujt+2g7pyCuS+eiXMf10nZC5eI/vvCLRBGo41y/yzSNYzDS5oBoWi6qF8PWuqrra 7XsvvKHffStQE7x0/oyywvEQ/kFOI7slFknvpb+RA2QWjCHIrc+YY/SREDnTryVhXtvN MNKPgtsUGOc1920qSnIYSM9BGtv6yrdtG7lSQJgw5XL5t9lxE94JE9SUsGc26T3BTf3R c7bApMNW1nyTk57DIjGZue8PPGPDO7ckfGDRDOm18AUxJm0WuTUlmvFrFV1lx5DJstMz aOUnxndZH2HG6d+2QViTsMFM6r/M7dNhdryxhpP7PpRBsMPzWAmlyFwXAN0/pklgbJ6H VAig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=OPSNsR3EOIFVWGXNCRzLROUQIZEmtZcUpU/rvcMJfzQ=; b=laXilVyIXJp72DQ2C/VxTKzU2gwSWhFFo2ju9XYfCpvqCdwUhylv8wpsK7rZwxNIHM JTg83Gy9w1Z4NiHT1fVswICac7sMSIZQuwwDZky0z2qj/LrfMhoEH4nrF+RH2CsNzdVZ 5pP4MdwHRxyiCxZ/eejY62/DdhPg7enUVun9ClkVqlaLxV678+Q1rwLMLsBYLF0cn/C2 D4haKXLnnu/dFA1wDE5566N/l9oSdcZ4kpLnK7MIhZHAbznCTEVdNy6U2jbXfjPRp359 eFzA7nv94YVzEz+ljxj2Yjxl6hNE5sh/Bvn/9he2sTXO1lNJmiYJOhWCHwPwQLXf5pCH VYhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="RyAO/OAW"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t22si17628290edr.207.2020.06.26.09.56.16; Fri, 26 Jun 2020 09:56:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="RyAO/OAW"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729618AbgFZPhs (ORCPT + 99 others); Fri, 26 Jun 2020 11:37:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726613AbgFZPhr (ORCPT ); Fri, 26 Jun 2020 11:37:47 -0400 Received: from mail-qv1-xf42.google.com (mail-qv1-xf42.google.com [IPv6:2607:f8b0:4864:20::f42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD582C03E979 for ; Fri, 26 Jun 2020 08:37:47 -0700 (PDT) Received: by mail-qv1-xf42.google.com with SMTP id g7so4656580qvx.11 for ; Fri, 26 Jun 2020 08:37:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=OPSNsR3EOIFVWGXNCRzLROUQIZEmtZcUpU/rvcMJfzQ=; b=RyAO/OAWnxDcBcMg3o+SzNFzw0pQO5CARemsH79PlOlCMchDPEjihKT4whLrXSufcH k0nbF7dc79rmEEhJnR2Nkx3+Cl3GbW62D7aKxYh+vIdqBzgiGhbRpjLnxP0fKUY/Ofca fGLTFCiS13+0SsrcrRTqia9XE/84OMKwF8km0UcR6vTCsLc0cMmrVvdMOD0KGXxYcW2t 9YHQdniME/NuMQBRAx4nNyY7SnaXvKgrzI2fQOY5Yejpy7joBYumS3eGFPv77sQEHVGR 5DBZcHv6goHINFTe/q/A8my5HDzJ3hR7EY9jArYjuZlayvATn9j3VaLbZ90G0ZtGkiis oLCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=OPSNsR3EOIFVWGXNCRzLROUQIZEmtZcUpU/rvcMJfzQ=; b=pALawzx5Xw/eaNdmP6QuOjdRrhMJc5NjCTvAbxLDgE0iKia+4vaU+mjj1W2VvpzBEf /saDbj1ZzyKRWTwGjJ85B4PEq6kKB02HA5U2odnhGgmyiJvcz+W+3gjLK+x+g/ODy6wJ jHIYBhMrj/WKwvi7vTx0TYzDKGKzegdynXGrjISsyLC7BkMlmoNoUPiTkU8aspDwXtqo NkR/eS6oF+I+VHmL4dBBS5aMu6QJ4eoQS+d0eVyUi8ncBUOGbgs5HTSELKZzhLvhHAjv T7HRzSppj8jgx0kCiX0rxYXLkwYEpKM0tT/nLzmIHx0q6n42SKsgthjZSgSn67P9mcRO RNGQ== X-Gm-Message-State: AOAM530G71T8BEB9sMP3dwJXQ34i5EzK0oc4eBB1UtuAPe70VywoEEBH lXOiehcXn8IzGWf9KCAQBmo= X-Received: by 2002:ad4:57b2:: with SMTP id g18mr3658374qvx.207.1593185866967; Fri, 26 Jun 2020 08:37:46 -0700 (PDT) Received: from mooncell.myfiosgateway.com (pool-173-75-208-99.phlapa.fios.verizon.net. [173.75.208.99]) by smtp.gmail.com with ESMTPSA id y40sm9719918qtc.29.2020.06.26.08.37.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jun 2020 08:37:46 -0700 (PDT) From: Brooke Basile To: Larry.Finger@lwfinger.net, gregkh@linuxfoundation.org, straube.linux@gmail.com, colin.king@canonical.com Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Brooke Basile Subject: [PATCH 3/4] staging: rtl8188eu: Fix indentation Date: Fri, 26 Jun 2020 11:36:40 -0400 Message-Id: <20200626153639.8097-3-brookebasile@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200626153639.8097-2-brookebasile@gmail.com> References: <20200626153639.8097-1-brookebasile@gmail.com> <20200626153639.8097-2-brookebasile@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following checkpatch warning: WARNING: suspect code indent for conditional statements (16, 32) Signed-off-by: Brooke Basile --- .../staging/rtl8188eu/core/rtw_ieee80211.c | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ieee80211.c b/drivers/staging/rtl8188eu/core/rtw_ieee80211.c index 44a25d29f1d3..bf6b2fe9735f 100644 --- a/drivers/staging/rtl8188eu/core/rtw_ieee80211.c +++ b/drivers/staging/rtl8188eu/core/rtw_ieee80211.c @@ -494,23 +494,23 @@ void rtw_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len, u8 *wpa_ie authmode = in_ie[cnt]; if ((authmode == _WPA_IE_ID_) && (!memcmp(&in_ie[cnt + 2], &wpa_oui[0], 4))) { - RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, - ("\n rtw_get_wpa_ie: sec_idx =%d in_ie[cnt+1]+2 =%d\n", - sec_idx, in_ie[cnt + 1] + 2)); - - if (wpa_ie) { - memcpy(wpa_ie, &in_ie[cnt], in_ie[cnt + 1] + 2); - - for (i = 0; i < (in_ie[cnt + 1] + 2); i += 8) { - RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, - ("\n %2x,%2x,%2x,%2x,%2x,%2x,%2x,%2x\n", - wpa_ie[i], wpa_ie[i + 1], wpa_ie[i + 2], wpa_ie[i + 3], wpa_ie[i + 4], - wpa_ie[i + 5], wpa_ie[i + 6], wpa_ie[i + 7])); - } + RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, + ("\n rtw_get_wpa_ie: sec_idx =%d in_ie[cnt+1]+2 =%d\n", + sec_idx, in_ie[cnt + 1] + 2)); + + if (wpa_ie) { + memcpy(wpa_ie, &in_ie[cnt], in_ie[cnt + 1] + 2); + + for (i = 0; i < (in_ie[cnt + 1] + 2); i += 8) { + RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, + ("\n %2x,%2x,%2x,%2x,%2x,%2x,%2x,%2x\n", + wpa_ie[i], wpa_ie[i + 1], wpa_ie[i + 2], wpa_ie[i + 3], wpa_ie[i + 4], + wpa_ie[i + 5], wpa_ie[i + 6], wpa_ie[i + 7])); } + } - *wpa_len = in_ie[cnt + 1] + 2; - cnt += in_ie[cnt + 1] + 2; /* get next */ + *wpa_len = in_ie[cnt + 1] + 2; + cnt += in_ie[cnt + 1] + 2; /* get next */ } else { if (authmode == _WPA2_IE_ID_) { RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, -- 2.27.0