Received: by 10.223.176.5 with SMTP id f5csp1130466wra; Fri, 2 Feb 2018 11:43:38 -0800 (PST) X-Google-Smtp-Source: AH8x224rUQbf4haiWhxR6e+JiFhdhYZQS2hKFyXyjFmUtiO/QT+HyRO/DfREhrG20ZhHAArEqGSk X-Received: by 10.99.116.82 with SMTP id e18mr32041597pgn.3.1517600618384; Fri, 02 Feb 2018 11:43:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517600618; cv=none; d=google.com; s=arc-20160816; b=ftRJdkloCV4G6fWv47TJ04dzj1nrJhqJCKKvhU3opsC3wtrBSis2QgsnkXAlszWNO+ dwe29Ea76jH15z4rfePKEEOGC0jNU5INLqA4miPawmP9BprpKZloiDl6o2QRY//IQF5W OPIYdV3NrijJstaIbBdlyo4cXwJeKqVuWhNuG4Gzyxb+3jnVbTNMy76iaqpeGtGgpvd9 Y2ADKY7Ijx+vyZ+YuRGRtAgW3mXIjjXx3/X8q7bdQhx8napc1t4NUl+TTX0ewKVVfa37 JCvJcAbNFHDY+E2vP65MJox1xQXm5M9dN4Lji6rKgDkBQ9H7GbKmMtNZRUOGvGiJm32k gBHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=XZ7QqfXSlGlpU5c3h1Mw83TrN4uP3S9DTYomhw4HNHc=; b=ceUZE2qLLv0kv927fBjrlGS5FogrCmNVBCulC11mpJkYIs1qv+Mh16P/5/raHA9YmO 4H9AaSmpGCLxHCoXR0KM9YrPIXEDzJaf1W//bAMeRui3Oge2fBmJ8A9c6o0VHg4SOtNu aHOmY65H0AbqzB75bkqXkDg8iRJz8/68xYJ9b5Xv70IOANQdbkESl10D+XyJi2/cbl7E 7pzjC2P05k13/7cGCzbuHqTx5hHPRk//WfkRDOhRCR+VYlk7vam3pFHoGyxlL9lDbPkV n4UKnUQlrfhXNkX+eWDITzkr4R8Y44I3vhF4XQI42FOVV29AwQ1pomcttuJdjSxbnBZh 1vKg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g19si1927842pfb.229.2018.02.02.11.43.23; Fri, 02 Feb 2018 11:43:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754211AbeBBSPm (ORCPT + 99 others); Fri, 2 Feb 2018 13:15:42 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:36548 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753019AbeBBRFh (ORCPT ); Fri, 2 Feb 2018 12:05:37 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 7DED7E46; Fri, 2 Feb 2018 17:05:36 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Emmanuel Grumbach , Luca Coelho , Sasha Levin Subject: [PATCH 4.9 65/86] iwlwifi: mvm: fix the TX queue hang timeout for MONITOR vif type Date: Fri, 2 Feb 2018 17:58:25 +0100 Message-Id: <20180202140828.647980820@linuxfoundation.org> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180202140822.679101338@linuxfoundation.org> References: <20180202140822.679101338@linuxfoundation.org> User-Agent: quilt/0.65 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Emmanuel Grumbach [ Upstream commit d1b275ffec459c5ae12b5c7086c84175696e5a9f ] The MONITOR type is missing in the interface type switch. Add it. Signed-off-by: Emmanuel Grumbach Signed-off-by: Luca Coelho Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- drivers/net/wireless/intel/iwlwifi/mvm/utils.c | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/net/wireless/intel/iwlwifi/mvm/utils.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/utils.c @@ -1040,6 +1040,8 @@ unsigned int iwl_mvm_get_wd_timeout(stru return le32_to_cpu(txq_timer->p2p_go); case NL80211_IFTYPE_P2P_DEVICE: return le32_to_cpu(txq_timer->p2p_device); + case NL80211_IFTYPE_MONITOR: + return default_timeout; default: WARN_ON(1); return mvm->cfg->base_params->wd_timeout;