]> git.baikalelectronics.ru Git - kernel.git/commit
rfkill: add function to query state
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 2 Jun 2009 11:01:40 +0000 (13:01 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 3 Jun 2009 18:06:14 +0000 (14:06 -0400)
commit78c71a0eb752917754fb76ce3389ccbf25265bce
treeaef1cf51ee0a8f77f562defe1fe8ec75812474b7
parentb873859300a364d38a2c899fe59170c698398591
rfkill: add function to query state

Sometimes it is necessary to know how the state is,
and it is easier to query rfkill than keep track of
it somewhere else, so add a function for that. This
could later be expanded to return hard/soft block,
but so far that isn't necessary.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/linux/rfkill.h
net/rfkill/core.c