From patchwork Thu Nov 18 05:46:06 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luis Rodriguez X-Patchwork-Id: 335101 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oAI5kK8P029010 for ; Thu, 18 Nov 2010 05:46:20 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752958Ab0KRFqS (ORCPT ); Thu, 18 Nov 2010 00:46:18 -0500 Received: from mail.atheros.com ([12.19.149.2]:44529 "EHLO mail.atheros.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752619Ab0KRFqS (ORCPT ); Thu, 18 Nov 2010 00:46:18 -0500 Received: from mail.atheros.com ([10.10.20.105]) by sidewinder.atheros.com for ; Wed, 17 Nov 2010 21:46:05 -0800 Received: from tux (10.10.11.65) by SC1EXHC-01.global.atheros.com (10.10.20.106) with Microsoft SMTP Server (TLS) id 8.2.213.0; Wed, 17 Nov 2010 21:46:13 -0800 Received: by tux (sSMTP sendmail emulation); Wed, 17 Nov 2010 21:46:13 -0800 From: "Luis R. Rodriguez" To: CC: , , "Luis R. Rodriguez" Subject: [PATCH 1/4] cfg80211: put core regulatory request into queue Date: Wed, 17 Nov 2010 21:46:06 -0800 Message-ID: <1290059169-2468-2-git-send-email-lrodriguez@atheros.com> X-Mailer: git-send-email 1.7.3.2.90.gd4c43 In-Reply-To: <1290059169-2468-1-git-send-email-lrodriguez@atheros.com> References: <1290059169-2468-1-git-send-email-lrodriguez@atheros.com> MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Thu, 18 Nov 2010 05:46:20 +0000 (UTC) diff --git a/net/wireless/reg.c b/net/wireless/reg.c index 3be18d9..9830db6 100644 --- a/net/wireless/reg.c +++ b/net/wireless/reg.c @@ -1530,12 +1530,7 @@ static int regulatory_hint_core(const char *alpha2) request->alpha2[1] = alpha2[1]; request->initiator = NL80211_REGDOM_SET_BY_CORE; - /* - * This ensures last_request is populated once modules - * come swinging in and calling regulatory hints and - * wiphy_apply_custom_regulatory(). - */ - reg_process_hint(request); + queue_regulatory_request(request); return 0; }