]> git.baikalelectronics.ru Git - kernel.git/commit
rfkill: always init poll delayed work
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 3 Jun 2009 07:55:29 +0000 (09:55 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 3 Jun 2009 18:06:15 +0000 (14:06 -0400)
commitaa319de0d99326c9b73756061c913e0f6b98d905
treedd0749b38d54f41f1823a992815971b02b3e489f
parentd816cd12990029bc30dc08025e960bf7ef4bf5e3
rfkill: always init poll delayed work

The rfkill core didn't initialise the poll delayed work
because it assumed that polling was always done by specifying
the poll function. cfg80211, however, would like to start
polling only later, which is a valid use case and easy to
support, so change rfkill to always initialise the poll
delayed work and thus allow starting polling by calling the
rfkill_resume_polling() function after registration.

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