Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2241861ybz; Thu, 23 Apr 2020 14:18:26 -0700 (PDT) X-Google-Smtp-Source: APiQypL/OcYGbJQBshs3Dqmq4eC/JEa79IbkiCetq8CkoA52RHlJmkAUD9/JRjVlkSRgDse67tP3 X-Received: by 2002:a17:906:a3da:: with SMTP id ca26mr3721077ejb.125.1587676706047; Thu, 23 Apr 2020 14:18:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587676706; cv=none; d=google.com; s=arc-20160816; b=RJk1CRbvvtRJ6VcbE0JZS8ou9YUlrt7QQ74khd4/Nq8GfzhGQMNbAE1BNzNrwI55+C UUB6TVXTk4rpjb7YDnJxlB2MkdOswlFN98m/Y5zu10ZLbq8kNaRrR+fSbdGlep3yozM9 l9JCKCPFXH0gwkHeC1BhfOnNczyXIW/y9lL7tADo+B9H/FPEU6EJFairP/WwWMoPtcPn SGkgjQoqTwxRT5jnKQcWyAkWlN3tTkcWXSdhn15XOHY+DD83FCuKQR3yVzPC+oKp53Xa wDnRajh4TOkIRfiNpnPku1KwZyDniwZiPlKCLrojHUSGLyt9PgyN5pfOP+UP4V3cZd4d tX5Q== 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 :content-language:mime-version:user-agent:date:message-id:subject :from:cc:to:dkim-signature; bh=UqaUzhYpxz0lrWzJ6DPc0vNRY+etRrC0oeksk1Ww4Gs=; b=sqzcSDqFcqsEUnq1N7hi1OSO+NiZqmVByDjMFDoLBDXy3xcy05j6SUfcou+O9I/mVs PlMhJaLLX5BXGpfqctAhjrII+IqeoIOabYIvWPboLaaeCJM/okM8vKpU2JNZehqL3nfY E3q6bjswSsBR7O7VHx+j+E22xmb49MRacTyDfo4nvntmERnoWsWTC8lF4GcfqrMZB/Af t228hqJ/5dBFEHPi3AqD5duzzydNPfO7YmI35Kc1DdEaAo51BoALnnQxeFF5RYZpOO18 lbDDCPpHEOTQmZlqjV5kncCMYgNwW82Qn3E/dDEzsr6u7uZErR87K0ZZcy3uNxGCA8KB 2M7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=X2cJfeRW; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-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 gl22si1498535ejb.402.2020.04.23.14.17.49; Thu, 23 Apr 2020 14:18:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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=X2cJfeRW; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-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 S1726071AbgDWVOd (ORCPT + 99 others); Thu, 23 Apr 2020 17:14:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725877AbgDWVOd (ORCPT ); Thu, 23 Apr 2020 17:14:33 -0400 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8609DC09B042 for ; Thu, 23 Apr 2020 14:14:31 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id j1so8338916wrt.1 for ; Thu, 23 Apr 2020 14:14:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:cc:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=UqaUzhYpxz0lrWzJ6DPc0vNRY+etRrC0oeksk1Ww4Gs=; b=X2cJfeRWZp0JzMd8jTTQTj/Rb9Dl4QcQ4QoXMJZVALw3/l3qK8TpKqATlP4WVHvGDl N6bbd0rPPK49L39qy86FyYkc6bT8dPCdCwITha53gNhvImFyWSBpt3q1v9/xEnhNGJH7 hj/7pcZS9qGaeJzB1OABn7AeB2MFfNEPIbFJnL3kmntVHsZhBy4heVBXnc4HNXfEoXAk V749tq9CvafXPuchZkyzNqSGFJ9IqKp6LYYOJ+hQn7LsL7BHt1kC2zgLqySoFZy5EI5h ekc84s/IrDp8rzqgm5bYwCcmwHcGeM8iKifX7VnwoGrfmH4rSDxwg9fuYLnVdla4uYyV bAHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=UqaUzhYpxz0lrWzJ6DPc0vNRY+etRrC0oeksk1Ww4Gs=; b=q/MMnS9zstFUXTs3M1kIW8VmQ9LGRfiGJpx+VSVHBTjEY2ul65Mf3zQoACuezzAMja T71WnfMUzmaB2xdPWv6eoSetZp27XuLf03kB/mmkGKoBRJEXwfS5xERkK/9ShAjooCp1 /Gv3pK1orn07wtl/e32BNdX/C+d1sPXjprfn3Vs+7YbF7WyKpb/fAoNutQ3NGKkSm0PW TtxXfQYHMfYVMvG01r0wb5PPoI+zSQ/UNW27Vk7WUnLgsRA+KF+Gzsg9wwlrn7Ny62Oh w0oCsYp3EGdMpFAjheBBNQ/Wpv7/0MDC/Te2srxcPAzCJdEGXUwSg18M0y7uN7dh5CE+ GWqg== X-Gm-Message-State: AGi0PuZmaC+FXxlaiwDG/G86Sdi+aBVZFNrcd2sravpKTOvU5Mcz4eOZ 9/cqoSPkMdpUvnFe9/Flo8w= X-Received: by 2002:a5d:5085:: with SMTP id a5mr7552471wrt.394.1587676470238; Thu, 23 Apr 2020 14:14:30 -0700 (PDT) Received: from [192.168.43.18] (94.197.120.138.threembb.co.uk. [94.197.120.138]) by smtp.gmail.com with ESMTPSA id j68sm5538616wrj.32.2020.04.23.14.14.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 23 Apr 2020 14:14:29 -0700 (PDT) To: Greg Kroah-Hartman Cc: "devel@driverdev.osuosl.org" , linux-wireless@vger.kernel.org, Oscar Carter From: Malcolm Priestley Subject: [PATCH 1/2] staging: vt6656: Remove set short time in vnt_init_registers. Message-ID: Date: Thu, 23 Apr 2020 22:14:28 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org The short time is set in vnt_bss_info_changed no need to set it here. Signed-off-by: Malcolm Priestley --- drivers/staging/vt6656/main_usb.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c index 4bca0b99cf45..c0545932866c 100644 --- a/drivers/staging/vt6656/main_usb.c +++ b/drivers/staging/vt6656/main_usb.c @@ -401,19 +401,6 @@ static int vnt_init_registers(struct vnt_private *priv) dev_dbg(&priv->usb->dev, "Network address = %pM\n", priv->current_net_addr); - /* - * set BB and packet type at the same time - * set Short Slot Time, xIFS, and RSPINF - */ - if (priv->bb_type == BB_TYPE_11A) - priv->short_slot_time = true; - else - priv->short_slot_time = false; - - ret = vnt_set_short_slot_time(priv); - if (ret) - goto end; - priv->radio_ctl = priv->eeprom[EEP_OFS_RADIOCTL]; if ((priv->radio_ctl & EEP_RADIOCTL_ENABLE) != 0) { -- 2.25.1