diff mbox

acer-wmi: rfkill and bluetooth enabling doesn't work as in 2.6.37

Message ID 4D8116940200002300029EB1@novprvlin0050.provo.novell.com (mailing list archive)
State New, archived
Headers show

Commit Message

Joey Lee March 16, 2011, 8:59 a.m. UTC
None
diff mbox

Patch

diff --git a/net/rfkill/core.c b/net/rfkill/core.c
index 0198191..0dec078 100644
--- a/net/rfkill/core.c
+++ b/net/rfkill/core.c
@@ -950,14 +950,14 @@  int __must_check rfkill_register(struct rfkill *rfkill)
 
        if (!rfkill->persistent || rfkill_epo_lock_active) {
                schedule_work(&rfkill->sync_work);
-       } else {
-#ifdef CONFIG_RFKILL_INPUT
-               bool soft_blocked = !!(rfkill->state & RFKILL_BLOCK_SW);
-
-               if (!atomic_read(&rfkill_input_disabled))
-                       __rfkill_switch_all(rfkill->type, soft_blocked);
-#endif
-       }
+       } //else {
+//#ifdef CONFIG_RFKILL_INPUT
+//             bool soft_blocked = !!(rfkill->state & RFKILL_BLOCK_SW);
+//
+//             if (!atomic_read(&rfkill_input_disabled))
+//                     __rfkill_switch_all(rfkill->type, soft_blocked);
+//#endif
+//     }
 
        rfkill_send_events(rfkill, RFKILL_OP_ADD);