diff mbox

New rtl8187 rfkill support blocks my wlan for good.

Message ID 3ace41890912030401k7cb41386rc134e167a8e4bea6@mail.gmail.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Hin-Tak Leung Dec. 3, 2009, 12:01 p.m. UTC
None
diff mbox

Patch

--- 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;

 }