[Bug 42820] Re: wireless.sh should use device/rf_kill instead of power/state

Nicolò Chieffo 84yelo3 at gmail.com
Sat Mar 24 20:23:30 UTC 2007


I don't really understand the logic of wireless.sh, especially the
part in which you overwrite the variable OFF with "2". The following
wireless interface will fail if using rf_kill because off is not 2 but
1...

Why didn't you remove the reference to power/state? Since it does not
work it is not needed... It is only useful in isAnyWirelessPoweredOn,
because you have to check if that device is off

-- 
wireless.sh should use device/rf_kill instead of power/state
https://launchpad.net/bugs/42820




More information about the kernel-bugs mailing list