From patchwork Sun Jun 20 09:44:57 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Fertser X-Patchwork-Id: 107040 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o5K9jXEi019784 for ; Sun, 20 Jun 2010 09:45:33 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756398Ab0FTJp2 (ORCPT ); Sun, 20 Jun 2010 05:45:28 -0400 Received: from mail-fx0-f46.google.com ([209.85.161.46]:53870 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755733Ab0FTJp1 (ORCPT ); Sun, 20 Jun 2010 05:45:27 -0400 Received: by fxm10 with SMTP id 10so1315762fxm.19 for ; Sun, 20 Jun 2010 02:45:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:mime-version:content-type :content-transfer-encoding; bh=Y2M1c+x5voK14T0BBJUlYOXIrymVOutU2xYyBc2H7Ok=; b=Qy7eJhUdMPE5JbtP8yzIgJIc4+0XnMPu0heoImWMYPIGwOlRRa6Uj4XUjIlLGFMbro Gq8UpDF3YnEFRpYT2qITchT0kmyLyNy7fMxLIO/QIifN2WmnuO8UDR4Wy0fsr7vBbpgM F/qDyFeIesFabSyCD45gu0XtMMCbXo00nLPGw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:mime-version :content-type:content-transfer-encoding; b=KjQmjp++ICqi43TkTwZnqTDWaSNtj/iOdzX3wXBbgv+935SBlNXN3OsnPpp2xTLGMX 4cFSExaAQtvjjDgFVnyVon0VakCwZJXWxGA0Ks/AJSw3RTOs19DUs6agRh/vEkZq0Kir ICfXuXgUgm69zSMxSCntIrZp2NnOPCka5tq5g= Received: by 10.223.161.211 with SMTP id s19mr3641508fax.47.1277027126092; Sun, 20 Jun 2010 02:45:26 -0700 (PDT) Received: from localhost (ppp91-78-251-12.pppoe.mtu-net.ru [91.78.251.12]) by mx.google.com with ESMTPS id 7sm24553891far.30.2010.06.20.02.45.23 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 20 Jun 2010 02:45:24 -0700 (PDT) From: Paul Fertser To: "Luis R. Rodriguez" Cc: linux-wireless@vger.kernel.org, Paul Fertser Subject: [PATCH] compat-wireless: fix compilation for 2.6.32 Date: Sun, 20 Jun 2010 13:44:57 +0400 Message-Id: <1277027097-3222-1-git-send-email-fercerpav@gmail.com> X-Mailer: git-send-email 1.6.4.4 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]); Sun, 20 Jun 2010 09:45:33 +0000 (UTC) diff --git a/scripts/gen-compat-autoconf.sh b/scripts/gen-compat-autoconf.sh index 88e2740..1e3002e 100755 --- a/scripts/gen-compat-autoconf.sh +++ b/scripts/gen-compat-autoconf.sh @@ -192,7 +192,7 @@ if [ -f $KLIB_BUILD/Makefile ]; then define_config_multiple_deps CONFIG_MAC80211_QOS y $ALL_DEPS rm -f $MULT_DEP_FILE # Kernels >= 2.6.32 can disable WEXT :D - if [ $SUBLEVEL -lt 32 ]; then + if [ $SUBLEVEL -le 32 ]; then define_config_dep CONFIG_CFG80211_WEXT 1 CONFIG_WIRELESS_EXT fi fi