]> err.no Git - linux-2.6/commit
rt2x00: Detect initial rfkill state on register
authorIvo van Doorn <ivdoorn@gmail.com>
Sat, 27 Oct 2007 11:40:51 +0000 (13:40 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:02:58 +0000 (15:02 -0800)
commitd9890b8f45158970f3418d0c9c0b3bfde13d3a4f
tree0f1044bb2cf7c6023af557703db850e2631df15b
parent4300beb47dd96ccaf5fa1a7550f6f6f15d045b30
rt2x00: Detect initial rfkill state on register

When registering rfkill, make sure a initial
poll event is directly executed to detect the initial
rfkill state and send the event to the rfkill layer.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wireless/rt2x00/rt2x00rfkill.c