Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 511110 | Differences between
and this patch

Collapse All | Expand All

(-)a/usr/share/laptop-mode-tools/modules/wireless-iwl-power (-2 / +1 lines)
Lines 24-30 findWifiIfsByDriver () { Link Here
24
			# the driver.
24
			# the driver.
25
			LINK_TARGET=`readlink $DEVICE/device/driver`
25
			LINK_TARGET=`readlink $DEVICE/device/driver`
26
			LINK_TARGET=${LINK_TARGET##*/}
26
			LINK_TARGET=${LINK_TARGET##*/}
27
			ENABLED=`cat $DEVICE/device/enable` 
27
			ENABLED=`cat $DEVICE/device/enabled`
28
			
28
			
29
			if [ $ENABLED -eq 1 -a "$LINK_TARGET" = "$1" ] ; then
29
			if [ $ENABLED -eq 1 -a "$LINK_TARGET" = "$1" ] ; then
30
				# add the interface name to the list
30
				# add the interface name to the list
31
- 

Return to bug 511110