From patchwork Sat Apr 29 12:03:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Malcolm Priestley X-Patchwork-Id: 9705777 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 DC724603F9 for ; Sat, 29 Apr 2017 12:04:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CDF6F28558 for ; Sat, 29 Apr 2017 12:04:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C29AE2868D; Sat, 29 Apr 2017 12:04:12 +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.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM 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 626E228636 for ; Sat, 29 Apr 2017 12:04:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1951818AbdD2MEK (ORCPT ); Sat, 29 Apr 2017 08:04:10 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:34076 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1426015AbdD2MEH (ORCPT ); Sat, 29 Apr 2017 08:04:07 -0400 Received: by mail-wr0-f194.google.com with SMTP id 6so9535926wrb.1; Sat, 29 Apr 2017 05:04:07 -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=o335YlxJawS/Nr4na0TNrbjTg+d2DMpcG9/3kqUVFDo=; b=n1J6TRAYJHShDKtGALs7bJrds81otGvexJ0C1B4fbIAqOshqzUpMDfI3FEEPXi9NPb znubgEtBx8NuV9I+4mu3n3CiPvN6v+d8MIXq7fFLJxSSvncXu3O78VTb4EgN9wxnF63i N28+d+R++prdXWLXXGwjXcN2zEBLPiFGa03qxfH2c9LhB/3rgSs3+fhqNmp9lSigvyfR RkFs7XQqKaGfi6LaEvAww/rtHdSTsU0M0X3lQh+ItZuw41Y+j8rvM+omtdsI5QOkaAqo 75piSdXbgu+TMP5P+2NEGIGa7yOoTHROW39XchN5/5T8iwnK3LsV7SQ159StT242LjtI yU5w== 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=o335YlxJawS/Nr4na0TNrbjTg+d2DMpcG9/3kqUVFDo=; b=czai9tyd0Q7Y6aZR4PDnUfnnMKAss2othqyiKyw9DjQiMfRTUKvVAR2vpGt7z1uztM EmUDqORMyAJtLq1xCawksyRoXaWpgmND+f/mbdPwvJx7S8FIzfcJ6DffnokTq3meDAm9 8dX65Qu89MhP1J6+OQ+LNPJ/N4OYP5kXM+WOQpBCOkzW2XR8aerfWVZf4X9+FcTEyHZz U56YY0xhHfT/PE9DU8EeBk1zaAnxeecbFxN9nD8z6GQ+1GysR2XEa1+5VuXbTLo6Ddsp 6IX3llKBk5JQmhEHgX0V27IEaGXG//xKvUIV8bK6Yo5xuSy6Zda/KIp8QPx3TevDMB8w H/dw== X-Gm-Message-State: AN3rC/7AgVPgaPgmMu5mcyy05WuZloXuHlrytEYh5+pZ5RsMdt7MpwrR /ABzb5ZTww0RZQ== X-Received: by 10.223.132.132 with SMTP id 4mr10691838wrg.31.1493467446393; Sat, 29 Apr 2017 05:04:06 -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.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 29 Apr 2017 05:04:06 -0700 (PDT) From: Malcolm Priestley To: gregkh@linuxfoundation.org Cc: linux-wireless@vger.kernel.org, devel@driverdev.osuosl.org, Malcolm Priestley , "# v3 . 17+" Subject: [PATCH 3/4] staging: vt6556: vnt_start Fix missing call to vnt_key_init_table. Date: Sat, 29 Apr 2017 13:03:44 +0100 Message-Id: <20170429120345.3782-3-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 The key table is not intialized correctly without this call. Signed-off-by: Malcolm Priestley Cc: # v3.17+ --- drivers/staging/vt6656/main_usb.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c index 9237930991ca..06f7841d44d3 100644 --- a/drivers/staging/vt6656/main_usb.c +++ b/drivers/staging/vt6656/main_usb.c @@ -513,6 +513,9 @@ static int vnt_start(struct ieee80211_hw *hw) goto free_all; } + if (vnt_key_init_table(priv)) + goto free_all; + priv->int_interval = 1; /* bInterval is set to 1 */ vnt_int_start_interrupt(priv);