Comment 17 for bug 42820

Revision history for this message
Nicolò Chieffo (yelo3) wrote : Re: [Bug 42820] Re: wireless.sh should use device/rf_kill instead of power/state

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