Public bug reported:

Binary package hint: laptop-mode-tools

In all the three modules:
    $IWCONFIG $IFNAME >/dev/null 2>&1;
    ret=$?;
    if [ "$ret" = "0" ]; then
        # Yes, it is a wireless device.
    ....

However, iwconfig gleefully returns status code 0 for any network
device. This results in ugly error messages afterwards.

Moreover, in wireless-power:
    if ( ! iwconfig $IF power $WIRELESS_AC_POWER_SAVING_ONOFF ) ; then
    if ( ! iwconfig $IF power $WIRELESS_BATT_POWER_SAVING_ONOFF ) ; then

Not using the $IWCONFIG variable defined earlier.

Moreover, wireless-power supports WIRELESS_POWER_SAVING_EXCLUDE_DRIVERS,
whereas wireless-{iwl,ipw}-power do not.

Moreover,
    # LP: #369113
    # Kernel's 2.6.29 and above have been reported to be missing
    # the $DEVICE/wireless folder.
See the OCNFIG_WIRELESS_EXT_SYSFS kernel variable for that.

** Affects: laptop-mode-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
wireless-{,iwl-,ipw-}power modules do not discard non-wireless interfaces
https://bugs.launchpad.net/bugs/662981
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to