Suitable cc's (from scripts/get_maintainer.pl) added.I implemented the wlan driver using rfkill.
On Fri, 26 Feb 2010 13:55:31 +0900
Don___t work expected operation in __rfkill_set_sw_state.Are you sure? What problems were you observing with the existing code?
when rfkill initialized. Rfkill___s blocked& unblocked is operating on the
Signed-off-by: Jaehoon Chung<jh80.chung@xxxxxxxxxxx>
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
@@ -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;
Please fully describe your hardware and the driver's behaviour.
The current code _looks_ OK to me. If bool `blocked' is true, we set
the RFKILL_BLOCK_SW bit?