From patchwork Thu Dec 3 12:01:34 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hin-Tak Leung X-Patchwork-Id: 64501 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nB3C1crA009150 for ; Thu, 3 Dec 2009 12:01:38 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752838AbZLCMBa (ORCPT ); Thu, 3 Dec 2009 07:01:30 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752557AbZLCMBa (ORCPT ); Thu, 3 Dec 2009 07:01:30 -0500 Received: from mail-fx0-f221.google.com ([209.85.220.221]:41521 "EHLO mail-fx0-f221.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751192AbZLCMB3 convert rfc822-to-8bit (ORCPT ); Thu, 3 Dec 2009 07:01:29 -0500 Received: by fxm21 with SMTP id 21so1317908fxm.1 for ; Thu, 03 Dec 2009 04:01:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Oo1EYn+nwzWIfWcQzDUdDepI2If528BGO6MOWI7oTFo=; b=XLxR1E7uAZMXzeQ+Q5SkRji18la2DS5xOsA8lJ/A1bNUVwsPj54Sn4pR3Opkcegu8Y ltckxEPt7faoQ6H7tk1NzlWbiEIu0zCxPXgx80o/gR9THZV3ZvgMTBHeZp9aZ6LSHdvA QvKXKRAEngbOuE/vf98eNJBogGnw57YubtXTg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Db8h4ohl9XbaiDvrY79iZbiAGCTTO1Cnl+vyyG/1Xf0K4QKQEBcrmXcS++nXxQJsGH C6pTtQR+n9Z5MUCH4FPYj//b3eqPcDFEjNesEJtKMZwHoqUu1SMqdlJKZOY+bB/X/lMh 72geWpn2Hr5AiLpKiqann5g+aoAcjMwNK941Q= MIME-Version: 1.0 Received: by 10.223.18.137 with SMTP id w9mr221267faa.61.1259841694733; Thu, 03 Dec 2009 04:01:34 -0800 (PST) In-Reply-To: <1259822699.31590.914.camel@peura.elisa-laajakaista.fi> References: <1259756709.31590.62.camel@peura.elisa-laajakaista.fi> <4B169608.3010902@lwfinger.net> <1259822699.31590.914.camel@peura.elisa-laajakaista.fi> Date: Thu, 3 Dec 2009 12:01:34 +0000 Message-ID: <3ace41890912030401k7cb41386rc134e167a8e4bea6@mail.gmail.com> Subject: Re: New rtl8187 rfkill support blocks my wlan for good. From: Hin-Tak Leung To: =?ISO-8859-1?Q?Antti_Kaijanm=E4ki?= Cc: Larry Finger , linux-wireless@vger.kernel.org Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org --- rtl8187_rfkill.c.orig 2009-12-02 14:12:34.646597569 +0200 +++ rtl8187_rfkill.c 2009-12-02 14:10:09.474593370 +0200 @@ -28,7 +28,7 @@ static bool rtl8187_is_radio_enabled(str rtl818x_iowrite8(priv, &priv->map->GPIO0, gpio & ~0x02); gpio = rtl818x_ioread8(priv, &priv->map->GPIO1); - return gpio & 0x02; + return gpio & 0x04; }