From patchwork Tue Jul 6 20:24:08 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Roskin X-Patchwork-Id: 110496 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o66KOFKK027694 for ; Tue, 6 Jul 2010 20:24:16 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753730Ab0GFUYO (ORCPT ); Tue, 6 Jul 2010 16:24:14 -0400 Received: from c60.cesmail.net ([216.154.195.49]:25702 "EHLO c60.cesmail.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752896Ab0GFUYN (ORCPT ); Tue, 6 Jul 2010 16:24:13 -0400 Received: from unknown (HELO smtprelay2.cesmail.net) ([192.168.1.112]) by c60.cesmail.net with ESMTP; 06 Jul 2010 16:24:10 -0400 Received: from mj.roinet.com (static-72-92-88-10.phlapa.fios.verizon.net [72.92.88.10]) by smtprelay2.cesmail.net (Postfix) with ESMTPSA id D7DEF34C6D; Tue, 6 Jul 2010 16:42:01 -0400 (EDT) Subject: [PATCH] compat-wireless: update 07-change-default-rate-alg.patch To: "Luis R. Rodriguez" , linux-wireless@vger.kernel.org From: Pavel Roskin Date: Tue, 06 Jul 2010 16:24:08 -0400 Message-ID: <20100706202408.10219.7113.stgit@mj.roinet.com> User-Agent: StGit/0.15-97-g9680 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 (demeter.kernel.org [140.211.167.41]); Tue, 06 Jul 2010 20:24:16 +0000 (UTC) diff --git a/patches/07-change-default-rate-alg.patch b/patches/07-change-default-rate-alg.patch index f0ccbce..858e1bc 100644 --- a/patches/07-change-default-rate-alg.patch +++ b/patches/07-change-default-rate-alg.patch @@ -29,6 +29,6 @@ at compilation time. - ops = ieee80211_try_rate_control_ops_get(CONFIG_MAC80211_RC_DEFAULT); + if (!ops && strlen(CONFIG_COMPAT_MAC80211_RC_DEFAULT)) + ops = ieee80211_try_rate_control_ops_get(CONFIG_COMPAT_MAC80211_RC_DEFAULT); - kparam_unblock_sysfs_write(ieee80211_default_rc_algo); return ops; + }