Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1037021ybh; Thu, 16 Jul 2020 01:05:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyzwn+/Zru3UYtwpJ2jRJg98+yP6c3Eed761htQwjnG9D9CXgmUeDLEugLVUBoqNT2/bcEK X-Received: by 2002:a17:906:970a:: with SMTP id k10mr216530ejx.236.1594886704742; Thu, 16 Jul 2020 01:05:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594886704; cv=none; d=google.com; s=arc-20160816; b=AlIJBQob8mC1JiFyAYmosqLVGei5PvNbDDM39dtMqb8w8xssQyHflTEf8ei4GT4wgP uzbmykYb+OyBRU/GaYcLe9w9wiVQIycc6rwN/JC9DpWaGCakgnJcOsU4Txx9zl2awJIM 71O9sz9Fo7HB7qed/tK/00Kox7Bob3NVvYyqss+05lq+zm+j4HWg6+8YEEvCnWXl/llx 9WM77V5dB8P1Yq6aCRcoOavJ790sG+aOtQW5PRg8sxk1gqr+VDcxyLcYT80uMwQzY3fM vhsdjL1KPIn9TrmrsBJ/UngqhkKY8SA408bNxDCnj0lnWVBWXEq2+9mbbEouoG5hD9el gpqw== 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 :content-language:in-reply-to:mime-version:date:message-id:from :references:cc:to:subject; bh=Bh6veFgVEEROQ4riekKQBGQxvlfsmpYo/bo4UZhDfW4=; b=iVZvTfeTaF1yVfadwOX+PbvVBEz98jAXEtamjQrdkFdGrC5/JdIc6WOf9qrh8YMeuf 5kegmpo5P4ZIFbKJUd0Yq8CiIvnQDPGMBknHhaOs74bNI4tis0CrTRYeqWKekYKBiZKT MEoWujFXRA6Gezt0Xo+nrKZ6SCbFjBzE9SQCYPpvzx4CrZxpP0veyDklyGYFP1fdrW1D bNkM6X7kngGOcoFxN7R6aZK5GS3gEXuwkRko0V0mMSnjU1WMyk8guFn3K1ZC7TqUBkdy H5iARpdOdgm7NeelEnSOO96F6FF7iRE/5j7Mm0o6AOxhXqTxyYXYvmPasFLwIiBsRubP GymA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-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 l7si2807049edv.475.2020.07.16.01.04.32; Thu, 16 Jul 2020 01:05:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725970AbgGPIEQ (ORCPT + 99 others); Thu, 16 Jul 2020 04:04:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725921AbgGPIEP (ORCPT ); Thu, 16 Jul 2020 04:04:15 -0400 Received: from mout1.freenet.de (mout1.freenet.de [IPv6:2001:748:100:40::2:3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42E2EC061755 for ; Thu, 16 Jul 2020 01:04:15 -0700 (PDT) Received: from [195.4.92.165] (helo=mjail2.freenet.de) by mout1.freenet.de with esmtpa (ID viktor.jaegerskuepper@freenet.de) (port 25) (Exim 4.92 #3) id 1jvys6-0008NN-4B; Thu, 16 Jul 2020 10:04:02 +0200 Received: from localhost ([::1]:34246 helo=mjail2.freenet.de) by mjail2.freenet.de with esmtpa (ID viktor.jaegerskuepper@freenet.de) (Exim 4.92 #3) id 1jvys6-0004qW-3P; Thu, 16 Jul 2020 10:04:02 +0200 Received: from sub0.freenet.de ([195.4.92.119]:50510) by mjail2.freenet.de with esmtpa (ID viktor.jaegerskuepper@freenet.de) (Exim 4.92 #3) id 1jvypl-000395-7a; Thu, 16 Jul 2020 10:01:37 +0200 Received: from p200300e707002e000785056b8e3c0b45.dip0.t-ipconnect.de ([2003:e7:700:2e00:785:56b:8e3c:b45]:51162 helo=[127.0.0.1]) by sub0.freenet.de with esmtpsa (ID viktor.jaegerskuepper@freenet.de) (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256) (port 465) (Exim 4.92 #3) id 1jvypl-00008D-4c; Thu, 16 Jul 2020 10:01:37 +0200 Subject: Re: [PATCH 1/1] ath9k: Fix regression with Atheros 9271 To: Mark O'Donovan , linux-wireless@vger.kernel.org Cc: kvalo@codeaurora.org, hqjagain@gmail.com, ath9k-devel@qca.qualcomm.com, davem@davemloft.net, kuba@kernel.org, Roman Mamedov References: <20200711043324.8079-1-shiftee@posteo.net> From: =?UTF-8?B?VmlrdG9yIErDpGdlcnNrw7xwcGVy?= Message-ID: <184f6897-40f8-949c-eca5-2bdb0d2aa8fb@freenet.de> Date: Thu, 16 Jul 2020 10:01:29 +0200 MIME-Version: 1.0 In-Reply-To: <20200711043324.8079-1-shiftee@posteo.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US-large Content-Transfer-Encoding: 8bit X-Originated-At: 2003:e7:700:2e00:785:56b:8e3c:b45!51162 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org [I fixed my e-mail address and CC'ed Roman] Mark O'Donovan: > 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 ) > > https://bugzilla.kernel.org/show_bug.cgi?id=208251 > > Signed-off-by: Mark O'Donovan This fixes the issue for me. Please don't forget: Reported-by: Roman Mamedov And if you want to add this: Tested-by: Viktor Jägersküpper These additional lines are mainly useful if the patch doesn't work for someone else and they decide to report it, so hopefully Roman and I would receive the report, too. And we already have three threads for this bug. > --- > drivers/net/wireless/ath/ath9k/hif_usb.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/drivers/net/wireless/ath/ath9k/hif_usb.c b/drivers/net/wireless/ath/ath9k/hif_usb.c > index 4ed21dad6a8e..3f563e02d17d 100644 > --- 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(struct urb *urb) > 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: >