Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6133364yba; Tue, 14 May 2019 02:13:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqzsOrig4oZKuP/OiD2QY8BgeORwK4XTuBxgUB7TgDJ+09aheo2cDgnAI5yBKH4K2ZIgl4u9 X-Received: by 2002:a63:6e0b:: with SMTP id j11mr23804550pgc.291.1557825181187; Tue, 14 May 2019 02:13:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557825181; cv=none; d=google.com; s=arc-20160816; b=qDGw43Ove9fsgOBj8W5drxXX+pUc1eo/WMvRYJ0l4GOYUshkH2o8UNsVkYycQHMkvR SJatlw74NvYC2m50Wnsy82ee3dz3L/kV5lOC8KI4v1Eny3Zk3NzNKt258P+slZr+RvhM 00esLaxzbFmzri0rsPhTDJcx66L1dMoiS+OeK38kC6mPTYoONANN7rxTjB9aifw2zyU4 dmRapCyKnhsWiKGC3gpLsYfKFixsZ3QTuYKqtxm0N+qI5Wm46PoAkkDXZlZJyB9V1vqg bAWtkQZ1StcwDwkIIrFqX5cdTHuLrSBTaU0XqvWk2K7/8eHRMiLwsDW49RWP0P2gJQd5 W8pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature:dkim-signature; bh=qqKJejxU8IyixO8W8bw6XI4miMVhU+mSZ+ZA2UUwNrc=; b=Ys+tqOMxjVR+s6n4trgdfCQufkYSpvZl3VBdEDOn2A+pj2kTUNRjRAqL+qf6m7zDsS CHzoPQZn8fFjnbivtaZ3LyccrXQWJ8W/B3kkZOeYcocQd/uTDb14EY5lYXRJIbvAd++/ POVq+rwx2WBxOjUbHTzoqVK9Jfd92OIPz/wZrP1UK28ESys/8Aed/ES+Ha0EVDEJBwfL FlW1bZBYlegKeswzvQgGtGPWRZeXp3IhVQlf+jVDKRM92B6a0f+WFy2uVYIkdOX+gVYv sCG072goKPMvIDYoDVT3fngOF3la4XBFi8BKvRaAUC19vtfBGkovHjGuoVF91zyfRKXt Q0gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=ZrMOef0v; dkim=pass header.i=@codeaurora.org header.s=default header.b="PIL/Dcdw"; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-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 c2si20151317pgd.415.2019.05.14.02.12.45; Tue, 14 May 2019 02:13:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=ZrMOef0v; dkim=pass header.i=@codeaurora.org header.s=default header.b="PIL/Dcdw"; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726130AbfENJKe (ORCPT + 99 others); Tue, 14 May 2019 05:10:34 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:44820 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725916AbfENJKe (ORCPT ); Tue, 14 May 2019 05:10:34 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 38C3860DB3; Tue, 14 May 2019 09:10:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1557825033; bh=uDnoGLYB9Xd9RBWabADon1gLoTcqeYJXItpqtC7+A0E=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ZrMOef0vdNAehkvcQLxi/sia1acmYRKIXJ7z4VVMdeXCkR7A7GnzIMTr9r0VA8ABH d3ZJDo+ilXsG9jjVWxe1HNTGa931x0Iee20ZpXOrSWotzbGeamMLKJsJplsM1inr17 M8Tre2sAL6qUP0/eimaPCh84TXeF7zLbe0um93II= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id 79A4B60D35; Tue, 14 May 2019 09:10:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1557825029; bh=uDnoGLYB9Xd9RBWabADon1gLoTcqeYJXItpqtC7+A0E=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=PIL/DcdwM/d/ky2IAVhjrziKwuPO/PIH6JQZXuZlORv73RnmdyKBmokuHe+xYDhbg ncR/WpKE2rk2dPx8p6tp73+KMDx0svN6r6sq+GLQviDTTUyG92BxSQA1NtuYc9375/ elWwOBVX3u7n2tsNwDN5Kj6XUZsJzNxxKP2WhJHg= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 14 May 2019 17:10:29 +0800 From: Yibo Zhao To: Johannes Berg Cc: linux-wireless@vger.kernel.org, ath10k@lists.infradead.org, Zhi Chen Subject: Re: [PATCH v2] mac80211: remove warning message In-Reply-To: <7c92f5cf51eaec1d5449698d90f5b6c5ca6c2bea.camel@sipsolutions.net> References: <1557824507-17668-1-git-send-email-yiboz@codeaurora.org> (sfid-20190514_110314_752671_7E53E9A2) <7c92f5cf51eaec1d5449698d90f5b6c5ca6c2bea.camel@sipsolutions.net> Message-ID: X-Sender: yiboz@codeaurora.org User-Agent: Roundcube Webmail/1.2.5 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 2019-05-14 17:05, Johannes Berg wrote: > On Tue, 2019-05-14 at 17:01 +0800, Yibo Zhao wrote: >> In multiple SSID cases, it takes time to prepare every AP interface >> to be ready in initializing phase. If a sta already knows everything >> it >> needs to join one of the APs and sends authentication to the AP which >> is not fully prepared at this point of time, AP's channel context >> could be NULL. As a result, warning message occurs. >> > Err, what was the point in sending v2 without any changes? > > johannes Hi Johannes, I was planning to use WARN_ON_ONCE() in the first place to replace WARN_ON() then after some discussion, we think removing it could be better. So the first patch was based on my first version which is sent incorrectly. Please check again. Sorry for the confusing. -- Yibo