From patchwork Thu Jul 7 14:48:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 9219071 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 8F9D06048B for ; Thu, 7 Jul 2016 14:49:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7E59A27D4D for ; Thu, 7 Jul 2016 14:49:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7069227DB3; Thu, 7 Jul 2016 14:49:16 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 62E9127D4D for ; Thu, 7 Jul 2016 14:49:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752733AbcGGOs7 (ORCPT ); Thu, 7 Jul 2016 10:48:59 -0400 Received: from mail-pf0-f171.google.com ([209.85.192.171]:33827 "EHLO mail-pf0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752072AbcGGOs4 (ORCPT ); Thu, 7 Jul 2016 10:48:56 -0400 Received: by mail-pf0-f171.google.com with SMTP id h14so6815463pfe.1 for ; Thu, 07 Jul 2016 07:48:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=0OGW1z4Tp4hR2vJFrvKgVNGmQbKP7CzNEMCf0S/Ikt0=; b=CwjIW2vBwCCCUj0yPsnObUhklbCtND/sSf3uV4gyqIqpbrK5DdvzNmh+Bzo2lznhMq bbgG2PAzpEMfEeIR9HdZoSgYpq9yxPHbmFrDPWTe5TMCtrsW1BEBHwUfpLWBS8gfrHUi 0cPYVEyzGc+TPCUQAlEo2U21xKDAmrC/JNVL4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=0OGW1z4Tp4hR2vJFrvKgVNGmQbKP7CzNEMCf0S/Ikt0=; b=VxBpfiiWNBdvIGUK788lnwXBKseL5RmC0tprX8CFcgsSqpqk5HWVcMA8FidV0pRxrE sktRIYOLQaD2hlLdhqxwIJU6c5H4/BIXJY5bg8Kd0doDjFdJSrAoqdmiedMIoGfxWsGG ycnL3HcRRHClmaoILcQbFPO59LA9SH1ApmTV9/xDrd2ZlnVUH5XriC8I7uK0pt8kysGp yrZ96kPqR2zzgABYYqi47f+aByR3vnNIMC7msS1zIMU9r5/HfFoylAGDC42VzujZSKXV yDx1QHmkUYEOs91WDVAUcg3P1W6kxQGEsv2eh/4S6JQPth4lUuSnwFMwXScOxEZVBX7v 1ndQ== X-Gm-Message-State: ALyK8tLn+ZQrt8H42IP9KrnEEpDX9VFuzMMcePui6JVoeTljqONaeb4MrzKtynVJFpqNHwpg X-Received: by 10.98.9.68 with SMTP id e65mr934373pfd.121.1467902936147; Thu, 07 Jul 2016 07:48:56 -0700 (PDT) Received: from localhost.localdomain (ip68-111-223-48.sd.sd.cox.net. [68.111.223.48]) by smtp.gmail.com with ESMTPSA id x66sm4906280pfi.84.2016.07.07.07.48.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Jul 2016 07:48:55 -0700 (PDT) From: Bjorn Andersson To: Eugene Krasnikov , Kalle Valo Cc: wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Nicolas Dechesne Subject: [PATCH] wcn36xx: Silence error about unsupported smd event 188 Date: Thu, 7 Jul 2016 07:48:53 -0700 Message-Id: <1467902933-28577-1-git-send-email-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.5.0 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 Sometimes the firmware sends a HAL_DEL_BA_IND, the prima driver silently ignore this message so let's do the same to silence the error message. Cc: Nicolas Dechesne Signed-off-by: Bjorn Andersson --- drivers/net/wireless/ath/wcn36xx/smd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/ath/wcn36xx/smd.c b/drivers/net/wireless/ath/wcn36xx/smd.c index e8b630c4f11e..3d56a3f236f9 100644 --- a/drivers/net/wireless/ath/wcn36xx/smd.c +++ b/drivers/net/wireless/ath/wcn36xx/smd.c @@ -2226,6 +2226,7 @@ static void wcn36xx_smd_rsp_process(struct wcn36xx *wcn, void *buf, size_t len) case WCN36XX_HAL_COEX_IND: case WCN36XX_HAL_AVOID_FREQ_RANGE_IND: + case WCN36XX_HAL_DEL_BA_IND: case WCN36XX_HAL_OTA_TX_COMPL_IND: case WCN36XX_HAL_MISSED_BEACON_IND: case WCN36XX_HAL_DELETE_STA_CONTEXT_IND: @@ -2273,6 +2274,7 @@ static void wcn36xx_ind_smd_work(struct work_struct *work) switch (msg_header->msg_type) { case WCN36XX_HAL_COEX_IND: + case WCN36XX_HAL_DEL_BA_IND: case WCN36XX_HAL_AVOID_FREQ_RANGE_IND: break; case WCN36XX_HAL_OTA_TX_COMPL_IND: