Return-path: Received: from mail-oi0-f50.google.com ([209.85.218.50]:34191 "EHLO mail-oi0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750763AbdGNTJs (ORCPT ); Fri, 14 Jul 2017 15:09:48 -0400 Subject: Re: [PATCH] rtlwifi: rtl8821ae: Fix HW_VAR_NAV_UPPER operation To: Dan Carpenter Cc: Chaoming Li , Kalle Valo , Ping-Ke Shih , Masanari Iida , linux-wireless@vger.kernel.org, kernel-janitors@vger.kernel.org References: <20170713074323.r7rjpnp6ghrdtjgx@mwanda> From: Larry Finger Message-ID: <5992b195-2ebb-a620-3324-ca2d689e11a7@lwfinger.net> (sfid-20170714_210952_219684_E40DE36C) Date: Fri, 14 Jul 2017 14:09:46 -0500 MIME-Version: 1.0 In-Reply-To: <20170713074323.r7rjpnp6ghrdtjgx@mwanda> Content-Type: text/plain; charset=utf-8; format=flowed Sender: linux-wireless-owner@vger.kernel.org List-ID: On 07/13/2017 02:43 AM, Dan Carpenter wrote: > The cast here is wrong. We want to cast the pointer but we accidentally > do a no-op cast of the value. We normally want to set us_nav_upper to > WIFI_NAV_UPPER_US (30000) but because of this bug we instead set it to > 184 on little endian systems and 0 on big endian ones. > > Fixes: 3c05bedb5fef ("Staging: rtl8812ae: Add Realtek 8821 PCI WIFI driver") > Signed-off-by: Dan Carpenter Acked-by: Larry Finger Thanks for catching this error. I suspect a typo, but your fix is obviously correct. Does the "Fixes" notation imply a Cc to stable? If not, then the patch needs a Cc to stable for 3.14+. Thanks again, Larry