wireless-{,iwl-,ipw-}power modules do not discard non-wireless interfaces
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
laptop-mode-tools (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
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_
if ( ! iwconfig $IF power $WIRELESS_
Not using the $IWCONFIG variable defined earlier.
Moreover, wireless-power supports WIRELESS_
Moreover,
# LP: #369113
# Kernel's 2.6.29 and above have been reported to be missing
# the $DEVICE/wireless folder.
See the OCNFIG_
On Tuesday 19 Oct 2010 03:28:28 Faustus wrote:
> In all the three modules:
> $IWCONFIG $IFNAME >/dev/null 2>&1;
> ret=$?;
> if [ "$ret" = "0" ]; then
> # Yes, it is a wireless device.
We already fixed this upstream. If not already, it should be part of the next
release.
-- www.researchut. com
Ritesh Raj Sarraf
RESEARCHUT - http://
"Necessity is the mother of invention."