From patchwork Sat Apr 29 12:03:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Malcolm Priestley X-Patchwork-Id: 9705779 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 5A9D8603F7 for ; Sat, 29 Apr 2017 12:04:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4B69428558 for ; Sat, 29 Apr 2017 12:04:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3EDC22868D; Sat, 29 Apr 2017 12:04:18 +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=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI 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 CE33528558 for ; Sat, 29 Apr 2017 12:04:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1426785AbdD2MEN (ORCPT ); Sat, 29 Apr 2017 08:04:13 -0400 Received: from mail-wr0-f195.google.com ([209.85.128.195]:35970 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1426283AbdD2MEG (ORCPT ); Sat, 29 Apr 2017 08:04:06 -0400 Received: by mail-wr0-f195.google.com with SMTP id v42so9506296wrc.3 for ; Sat, 29 Apr 2017 05:04:05 -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; bh=eebAytCmvwViyG/1KcAUmBN1Ridb+dNnd2ZCUvBHDWs=; b=lcFC1xNzUtySgctr6zet4pb+FDsXMpQUmG3dIWu/40/lix/6JQDaegkXejIwAnaY25 bCTHQzMhr0M0c9TJbep3RbFkHjApct4VnepMD4M+OhyrnfaJD9Ipdbh3mpV+grPPjpm4 /8Ibf+2nozJrg1EopCtfAxj8GFzo4/hljBsKoBWG8Gny8D3FKxydxrIJHFrkfJsBHhUF WUNzBSRHoOJJLAsrMAs1BEMNGsHsqtCazIbuVocfcMt7pg50LPcwxwuGRRGXncTZwDJV 4+fYURnwirsbO0y1nM7XeeCW4kYVWZTb75Fz2VX0MrAMUnfWHCViSD9CoeIalQF4t7CB KvbQ== 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; bh=eebAytCmvwViyG/1KcAUmBN1Ridb+dNnd2ZCUvBHDWs=; b=saMbeHtO3h6uq+P12S/KTmHzlHgfg1znAZBq00R3/Jj85jfqwtoRo3ttSuu/sp5eAP 3S14ycxBTM7yaWgWn8ICrK3oKvdH60lNT9rPG64Weqljl/waJvWDYvbIRU8YWRjMewFR LUhFMHxlEFtlMecZXHJ2G5qY2q34dAckmC4iROsJ1vLN2qkzj2wSPWToDzj8PuUF+AqE MFxlKER/KJNr5BGl/aSwMuq9hCybh5qRMCcRqXhpOLofMfqJswGeJKUVnrQMsNOKvXJT LRRZ9LeIWyNJmxIdK1JFnXHq85uzQab3zqfJw1Gtb5yZKBp4IHta3BhSTRHxGERVoUwT p8yw== X-Gm-Message-State: AN3rC/4EYxzudsNcbCgdv9gGfVqd76n9u6kwZl3icqbJJhjDR5uHpNQV sk+vo5K0Z5lL+Q== X-Received: by 10.223.135.130 with SMTP id b2mr10204421wrb.48.1493467444737; Sat, 29 Apr 2017 05:04:04 -0700 (PDT) Received: from localhost.localdomain (188.29.165.54.threembb.co.uk. [188.29.165.54]) by smtp.gmail.com with ESMTPSA id 30sm1463083wrp.6.2017.04.29.05.04.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 29 Apr 2017 05:04:04 -0700 (PDT) From: Malcolm Priestley To: gregkh@linuxfoundation.org Cc: linux-wireless@vger.kernel.org, devel@driverdev.osuosl.org, Malcolm Priestley Subject: [PATCH 2/4] staging: vt6656: always call vnt_update_ifs on short time change. Date: Sat, 29 Apr 2017 13:03:43 +0100 Message-Id: <20170429120345.3782-2-tvboxspy@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170429120345.3782-1-tvboxspy@gmail.com> References: <20170429120345.3782-1-tvboxspy@gmail.com> 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 short time change needs to synchronize parameters in vnt_update_ifs so a call to the function is always necessary. Signed-off-by: Malcolm Priestley --- drivers/staging/vt6656/main_usb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c index 028f54b453d0..9237930991ca 100644 --- a/drivers/staging/vt6656/main_usb.c +++ b/drivers/staging/vt6656/main_usb.c @@ -715,6 +715,7 @@ static void vnt_bss_info_changed(struct ieee80211_hw *hw, priv->short_slot_time = false; vnt_set_short_slot_time(priv); + vnt_update_ifs(priv); vnt_set_vga_gain_offset(priv, priv->bb_vga[0]); vnt_update_pre_ed_threshold(priv, false); }