Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:56066 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750836AbdG0KIQ (ORCPT ); Thu, 27 Jul 2017 06:08:16 -0400 From: Kalle Valo To: Arend van Spriel Cc: Larry Finger , linux-wireless@vger.kernel.org, Ping-Ke Shih , Yan-Hsuan Chuang , Birming Chiu , Shaofu , Steven Ting Subject: Re: [PATCH v4 01/10] rtlwifi: Fill in_4way field by driver References: <20170702181239.17911-1-Larry.Finger@lwfinger.net> <20170702181239.17911-2-Larry.Finger@lwfinger.net> <874ltyxl1b.fsf@purkki.adurom.net> <5979B8D4.8080003@broadcom.com> Date: Thu, 27 Jul 2017 13:08:10 +0300 In-Reply-To: <5979B8D4.8080003@broadcom.com> (Arend van Spriel's message of "Thu, 27 Jul 2017 11:56:36 +0200") Message-ID: <87h8xyyyyd.fsf@kamboji.qca.qualcomm.com> (sfid-20170727_120820_265062_06B0D94C) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-wireless-owner@vger.kernel.org List-ID: Arend van Spriel writes: > On 7/27/2017 11:54 AM, Kalle Valo wrote: >> Larry Finger writes: >> >>> From: Ping-Ke Shih >>> >>> Because it isn't always correct to use EAPOL to check 4-way, >>> we add a timer to handle exception. >>> >>> Signed-off-by: Ping-Ke Shih >>> Signed-off-by: Larry Finger >>> Cc: Yan-Hsuan Chuang >>> Cc: Birming Chiu >>> Cc: Shaofu >>> Cc: Steven Ting >> >> [...] >> >>> --- a/drivers/net/wireless/realtek/rtlwifi/base.c >>> +++ b/drivers/net/wireless/realtek/rtlwifi/base.c >>> @@ -1408,6 +1408,11 @@ u8 rtl_is_special_data(struct ieee80211_hw *hw, struct sk_buff *skb, u8 is_tx, >>> >>> return true; >>> } else if (ETH_P_PAE == ether_type) { >>> + /* EAPOL is seens as in-4way */ >>> + rtlpriv->btcoexist.btc_info.in_4way = true; >>> + rtlpriv->btcoexist.btc_info.in_4way_ts = jiffies; >>> + rtlpriv->btcoexist.btc_info.in_4way_ts = jiffies; >>> + >>> RT_TRACE(rtlpriv, (COMP_SEND | COMP_RECV), DBG_DMESG, >>> "802.1X %s EAPOL pkt!!\n", (is_tx) ? "Tx" : "Rx"); >> >> The indentation looks wrong. > > That wrongly indented line seems a bit redundant anyway :-p Heh, indeed :) -- Kalle Valo