Wireless rf_kill suggestion.

tinaught tinaught at googlemail.com
Fri Jun 8 13:55:27 PDT 2007


Hi,

powertop is suggesting me to echo 1 > rf_kill even if I have my hardware
switch in the off position. From README.ipw2200:

	0 = RF kill not enabled (radio on)
	1 = SW based RF kill active (radio off)
	2 = HW based RF kill active (radio off)
	3 = Both HW and SW RF kill active (radio off)

So I think line 71 of wireless.c should read:
if (val != 0) instead of (val == 1)

Cheers,

Pietro



More information about the Power mailing list