https://bugzilla.novell.com/show_bug.cgi?id=303834#c2
--- Comment #2 from Danny Kukawka 2007-08-23 13:47:28 MST ---
It's really confusing in HAL code and the spec: the interface for this is
called: 'org.freedesktop.Hal.Device.KillSwitch' which indicates the interface
would do things with and about the Killswitch, but the methodes in the
interface are: 'Get/SetPower' which make no sense for the killswitch.
And the spec say about this interface:
This interface provides a mechanism for both querying whether a
radio is on as well as turning it on and off. The following
methods are available:
and the methodes:
* GetPower(): Returns 1 if, and only if, the power is on.
* SetPower(): Set the power of the radio.
In fact the name of the interface imply the something like get status of the
killswitch and set the (SW)killswitch, but actually it get/set the status of
the WLAN (or e.g. bluetooth) interface.
We need to clear/discuss this upstream. Until we have a decision I fixed the
ipw related GetPower() method to return the correct state of the WLAN instead
of the state of the switch in the upstream git repo, it should be in beta3.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.