wireless-ipw-power module has incorrect initialization code

Bug #663103 reported by Faustus on 2010-10-19
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
laptop-mode-tools (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: laptop-mode-tools

    [ "$IPW3945_AC_POWER" ] || IPW3945_AC_POWER=6
    [ "$IPW3945_BATT_POWER" ] || IPW3945_BATT_POWER=7
    [ "$IPW2100_AC_POWER" ] || IPW3945_AC_POWER=0
    [ "$IPW2100_BATT_POWER" ] || IPW3945_BATT_POWER=5

Faustus (orlovm) wrote :

In addition, it is impossible to enable power saving for IPW2200 when on AC, via variables settings.

On Tuesday 19 Oct 2010 11:15:24 Faustus wrote:
> [ "$IPW3945_AC_POWER" ] || IPW3945_AC_POWER=6
> [ "$IPW3945_BATT_POWER" ] || IPW3945_BATT_POWER=7
> [ "$IPW2100_AC_POWER" ] || IPW3945_AC_POWER=0
> [ "$IPW2100_BATT_POWER" ] || IPW3945_BATT_POWER=5

Please describe the problem.

--
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."

Faustus (orlovm) wrote :

The problem is that the script checks whether the values of IPW2100_* are set, and if they are not, it sets the values of IPW_3945_* variables instead.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers