wireless-ipw-power module has incorrect initialization code

Bug #663103 reported by Faustus
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
laptop-mode-tools (Ubuntu)
New
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

Revision history for this message
Faustus (orlovm) wrote :

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

Revision history for this message
Ritesh Raj Sarraf (rrs) wrote : Re: [Bug 663103] [NEW] wireless-ipw-power module has incorrect initialization code

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."

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.