wimax: indicate initial SW rfkill state is "blocked"
authorInaky Perez-Gonzalez <inaky@linux.intel.com>
Fri, 28 Aug 2009 00:54:53 +0000 (17:54 -0700)
committerInaky Perez-Gonzalez <inaky@linux.intel.com>
Mon, 19 Oct 2009 06:55:34 +0000 (15:55 +0900)
commitc29eaf3faef7547ba72355bac44e9ca6ffdaee39
treeaa622b0943b0aef40b449379dff1561770357af5
parent5b45bfe5010ae1ddaac463d1bcdb141a4ff4ff66
wimax: indicate initial SW rfkill state is "blocked"

The WiMAX stack assumes that all WiMAX devices are SW OFF when they
are initialized. The recent changes in the RFKILL stack thus cause an
initial call after rfkill_register(), because by default, rfkill
considers devices to be SW ON upon registration.

So call rfkill_init_sw_state() to set it to SW OFF so
rfkill_register() doesn't do that unnecessary step.

Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
net/wimax/op-rfkill.c