rfkill: fix rfkill_set_states() to set the hw state
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>
Sun, 12 Jul 2009 16:03:13 +0000 (17:03 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 21 Jul 2009 16:07:38 +0000 (12:07 -0400)
commit48ab3578a65c5168ecaaa3b21292b643b7bcc2d5
treeab99e6ee3e1f27b7457809cafba3b9fb38c35cdb
parent8ef86c7bfac5b44529b73b84bc50d3cf574bfb4b
rfkill: fix rfkill_set_states() to set the hw state

The point of this function is to set the software and hardware state at
the same time.  When I tried to use it, I found it was only setting the
software state.

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/rfkill/core.c