[<prev] [next>] [day] [month] [year] [list]
Message-id: <000901cab5d2$b59aa150$20cfe3f0$%chung@samsung.com>
Date: Thu, 25 Feb 2010 13:26:32 +0900
From: Á¤ÀçÈÆ <jh80.chung@...sung.com>
To: linux-kernel@...r.kernel.org
Subject: [PATCH] rfkill bug fixed in rfkill_set_sw_state
Don¡¯t work expected operation in __rfkill_set_sw_state.
when rfkill initialized. Rfkill¡¯s blocked & unblocked is operating on the
contrary.
Signed-off-by: Jaehoon Chung <jh80.chung@...sung.com>
---
net/rfkill/core.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/net/rfkill/core.c b/net/rfkill/core.c
index c224cb2..dcc2d38 100644
--- a/net/rfkill/core.c
+++ b/net/rfkill/core.c
@@ -488,7 +488,7 @@ static void __rfkill_set_sw_state(struct rfkill
*rfkill, bool blocked)
if (rfkill->state & RFKILL_BLOCK_SW_SETCALL)
bit = RFKILL_BLOCK_SW_PREV;
- if (blocked)
+ if (!blocked)
rfkill->state |= bit;
else
rfkill->state &= ~bit;
--
1.6.0.4
Download attachment "winmail.dat" of type "application/ms-tnef" (7970 bytes)
Powered by blists - more mailing lists