Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp963568pxb; Wed, 6 Apr 2022 05:27:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCvcSazhsEe715R8h0Q9e4wRqPDULh7wwIRxC0tNkqgBcHhwo8IcrsK2mYRIrDp7FaYdHv X-Received: by 2002:aa7:88c5:0:b0:4fb:821:4017 with SMTP id k5-20020aa788c5000000b004fb08214017mr8573135pff.22.1649248063321; Wed, 06 Apr 2022 05:27:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649248063; cv=none; d=google.com; s=arc-20160816; b=I8oJMcWSLtv6/SIzmpDE2k+u7+qH43qrJy/SZ8+9+AyuFI9H+5tggW+OnKRT93JrFD PQWHrb0QNHKbxaoTFwPaE8fpiisTPcNZOGeldVIZXDoTWUuBYm3vDNDk1A7pz5RR3BWg 1QEfBDdJSe6Hp6DnmgmCXqcbst60WY6cnVZu/Cid+xMEkjwDJ6V16D6MFzTrpJh/MR2P XggY4XyquXPzr3ma4ARf4XdvD6NP9a1XgBd14hGk4ervB2b9zIjiVbdNgGpU6YqI+qqK OU/Zk14cP44+JGaAfaisSPgqLGqLrl67wE5Qdev73jb2Mm9+OmAES0zrmtIpXizk/k6H dbLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:to:from:date:dkim-signature; bh=GiOCB0LEnVJnuUDKgIp7T1dC76Lv7y/CQVx5+uI2YZc=; b=xbiEiKaT6gQLfWJKSuTH4xS5ZngYhMU1KavqBRKmPnicCM7UDV7y7ywqC3J8GpTs5B oTbc4UBKarf9GJXHwZcPK8eHmykC3USSDo+2/Zo71eT0jrrMKSxaZteoIrNK1S5hPDrE /mnXh/6CVlpRXV1Deotf4wdQFV0+jGEGI+gLGSl68Dr1xwNM1ACq8GxjeE1tl1c330pQ gabUug52xyOmoRtsEB0AdXfW0okO1nut2wg3rOuCFHfu0iulMpPdfg1arqhgBMT+nANG pBIHc0gkqhtWVLzIDtJclNxNCpyCAWgSBt5z5SNmLEKVyDVWkzL+Utt35YL45M+TGA9I W15w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=M4hADWEp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id z27-20020a637e1b000000b00399371191f1si7356617pgc.294.2022.04.06.05.27.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 05:27:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=M4hADWEp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AE63D577F29; Wed, 6 Apr 2022 04:38:08 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1843508AbiDFBlG (ORCPT + 99 others); Tue, 5 Apr 2022 21:41:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1452385AbiDEPyv (ORCPT ); Tue, 5 Apr 2022 11:54:51 -0400 Received: from mail-qt1-x82d.google.com (mail-qt1-x82d.google.com [IPv6:2607:f8b0:4864:20::82d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B514010BA for ; Tue, 5 Apr 2022 07:54:29 -0700 (PDT) Received: by mail-qt1-x82d.google.com with SMTP id c4so11426192qtx.1 for ; Tue, 05 Apr 2022 07:54:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:subject:message-id:mime-version:content-disposition; bh=GiOCB0LEnVJnuUDKgIp7T1dC76Lv7y/CQVx5+uI2YZc=; b=M4hADWEp021dn2H8CsRC3C99oEW6F8vJHJoOMLrMCUtoe85gORP+719UDYi2PioJJ3 GAsgSFwUvRgL8dnof/nCYGHgPIa1D9XSoPsoIXWanp2KBItOXOVI2x5vt0aYpRQfdiZB HHKE/qkU+hyMsvzIK6CkqHKMgoxN97q8Z4ea4nnIyD/gUD17zGKWZIafrQHusA3jX10q BJf6b1JG5zF174+wAgF5T1WJ8R9h4qVTE22/B9YkTgcl1C4jAyXI50FDli44jMrzaNIQ vCzcayMxf5CKvgNqsYxf6Mj6swmrVLwPvB11MJUtx/UVVPyWFX9kKiWXc7vUDesLtrlo lVsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition; bh=GiOCB0LEnVJnuUDKgIp7T1dC76Lv7y/CQVx5+uI2YZc=; b=g09kPDWAN+3TiYeGgjIWfqYv00sO8eLvJ4Sgv1NqSkmdupu8PUUd9o41rCe7lydEyd qBvTmwXAnwpDZxPN+xujBWc6sHUyNlXOEHqXnannVUSgcPLyZkQhwwKs8Y4/n6w8yXEB tf57W65FxX/xgRD5wCGeWLlYn+MJHyEt7XJ8J9yZKXdwAd8adk6TQL6X0O4z161aSfvO m0Y2pw7LvFsOfo+ANcpLfx+2P3bYw/2XRTu7DDdubb0u5a0yGIF0sZxsqaKYNXM6v/8q Se101ih24p1jgnZQxbya9qBNlIxafeJJs2Azsv2U2ckmCQRMdEj92iAKLopC/ItOO+Is H+tw== X-Gm-Message-State: AOAM531lON/BkYf4KGQGdx38nqCUXZjyD+IZnwrN2PmWmedQJiPTfjy/ vyvzprp7lRuCIkpooVPJR1LQa8xMkqfYQw== X-Received: by 2002:ac8:5dcd:0:b0:2eb:9458:4985 with SMTP id e13-20020ac85dcd000000b002eb94584985mr3329851qtx.85.1649170468792; Tue, 05 Apr 2022 07:54:28 -0700 (PDT) Received: from euclid ([71.58.109.160]) by smtp.gmail.com with ESMTPSA id u62-20020a379241000000b0067ed2b0994dsm8201646qkd.54.2022.04.05.07.54.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Apr 2022 07:54:28 -0700 (PDT) Date: Tue, 5 Apr 2022 10:54:24 -0400 From: Sevinj Aghayeva To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy@lists.linux.dev Subject: [PATCH] staging: rtl8723bs: fix indentation Message-ID: <20220405145424.GA623343@euclid> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Adhere to Linux kernel coding style. Reported by checkpatch: WARNING: suspect code indent for conditional statements Signed-off-by: Sevinj Aghayeva --- drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c index 04e29e228c1e..1bdbd0971f73 100644 --- a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c +++ b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c @@ -5143,17 +5143,9 @@ void link_timer_hdl(struct timer_list *t) } else if (pmlmeinfo->state & WIFI_FW_AUTH_STATE) { /* re-auth timer */ if (++pmlmeinfo->reauth_count > REAUTH_LIMIT) { - /* if (pmlmeinfo->auth_algo != dot11AuthAlgrthm_Auto) */ - /* */ - pmlmeinfo->state = 0; - report_join_res(padapter, -1); - return; - /* */ - /* else */ - /* */ - /* pmlmeinfo->auth_algo = dot11AuthAlgrthm_Shared; */ - /* pmlmeinfo->reauth_count = 0; */ - /* */ + pmlmeinfo->state = 0; + report_join_res(padapter, -1); + return; } pmlmeinfo->auth_seq = 1; -- 2.25.1