Received: by 2002:a17:90b:8d0:0:0:0:0 with SMTP id ds16csp4869666pjb; Mon, 27 Jul 2020 07:14:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzhy9iEoTsHmBzoe8SROfaMMIWpOuEgBRAaviPFC/7mXwrJfXh3OeqhX/LTUPpNh5i/rHEB X-Received: by 2002:a17:906:d158:: with SMTP id br24mr15953912ejb.420.1595859293714; Mon, 27 Jul 2020 07:14:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595859293; cv=none; d=google.com; s=arc-20160816; b=PIfI8pk8UoKsuFBCgSUcosf4Yh4uc7I1L+t0xW53kdrL2jEOp6YsbZ9dMdDV6oNiOm jXxCxOfnKUqFYSNn5oUZE7MMi1AtWSfSLD94mZShXCEe0uHiMhSFEkOFT1tK6+MnQ2l2 clzra7goEX3fAHYkTOi8M2fnekZlEM7YRgSUxL92qhar82PGtB3OVSXjan306EuB+Gre +4VqEU4Ih+/soWgQUr7lMN+C1hE0AyAPCmyCFHePEfCYtlH6QRDUnK1YO36MLvTEzXVR 04MyJYFxRflv25aUrYi0NRKlXHzD1lb9gkZvJy3SHDn+MZRmVpVb0j1FfJrkb7Iox74e /s2A== 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:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=nxXOjyBK5PZ6f7hAMgwtT74AAKVBXL8HuyHuyisooss=; b=AvKL3rBYuGLmYgGRBmwTt03jX+GAuw02a5FXaxkhtUwPAxr5MdBzSyuwoC1tEQ7cB7 cXFB7nzQSxUppIeFhlThuLJLz0fvCPWAw//fPJZB9CrZFPTB6DYlmfG7c1r7QmkflqR9 aT8R1d+4iQS37BQ4RNiRR2j9zhWh82+Wn7tgKR6KHi3uop1cFuMw2CNYCxCxo/Ch5wXY w1kyX6oJJcoKZrtGNpT2vaYOrdzKUuWxYCm5RfC6XjV/lLZn6QHCVZX+L+4+wvAx7CEA mM8nKcoj/eyhzwkU1pR3N53BNS99I988q08sI4m1mbfCJb0Zw4UEOAftAsWSJOe+34qr lgBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=KRTIRep8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a25si5564833edn.30.2020.07.27.07.14.31; Mon, 27 Jul 2020 07:14:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@kernel.org header.s=default header.b=KRTIRep8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728600AbgG0ONA (ORCPT + 99 others); Mon, 27 Jul 2020 10:13:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:37484 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730273AbgG0OMx (ORCPT ); Mon, 27 Jul 2020 10:12:53 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6FECF2078E; Mon, 27 Jul 2020 14:12:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595859173; bh=sDEnlAlhFB/QP2r2vRPVPqWMEAb7Ot7M+9SnlkSmfxE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KRTIRep8fhX9FnMTOzu2CcTq4bh/uxtm9H39l1ZnsR8lukAKGTBdQhFoxBTNBurJA Dd+jQqOU5BY7zRGXHU+7WHWkhsnDVF29ehS60B7YcVAybpDfxwQ1ISBpc4JdjVd51T pq4XfnbylbOUifHCvqc5LqFACtGSJT8Tx4njJ5K0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Mark ODonovan , Roman Mamedov , =?UTF-8?q?Viktor=20J=C3=A4gersk=C3=BCpper?= , Kalle Valo Subject: [PATCH 4.19 86/86] ath9k: Fix regression with Atheros 9271 Date: Mon, 27 Jul 2020 16:05:00 +0200 Message-Id: <20200727134918.713749319@linuxfoundation.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200727134914.312934924@linuxfoundation.org> References: <20200727134914.312934924@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mark O'Donovan commit 92f53e2fda8bb9a559ad61d57bfb397ce67ed0ab upstream. This fix allows ath9k_htc modules to connect to WLAN once again. Fixes: 2bbcaaee1fcb ("ath9k: Fix general protection fault in ath9k_hif_usb_rx_cb") Link: https://bugzilla.kernel.org/show_bug.cgi?id=208251 Signed-off-by: Mark O'Donovan Reported-by: Roman Mamedov Tested-by: Viktor Jägersküpper Signed-off-by: Kalle Valo Link: https://lore.kernel.org/r/20200711043324.8079-1-shiftee@posteo.net Signed-off-by: Greg Kroah-Hartman --- drivers/net/wireless/ath/ath9k/hif_usb.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- a/drivers/net/wireless/ath/ath9k/hif_usb.c +++ b/drivers/net/wireless/ath/ath9k/hif_usb.c @@ -733,11 +733,13 @@ static void ath9k_hif_usb_reg_in_cb(stru return; } + rx_buf->skb = nskb; + usb_fill_int_urb(urb, hif_dev->udev, usb_rcvintpipe(hif_dev->udev, USB_REG_IN_PIPE), nskb->data, MAX_REG_IN_BUF_SIZE, - ath9k_hif_usb_reg_in_cb, nskb, 1); + ath9k_hif_usb_reg_in_cb, rx_buf, 1); } resubmit: