diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2017-12-22 12:32:41 +0200 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2017-12-22 12:33:31 +0200 |
commit | 4d33d6e63d5add27f56f5334cd7d72f63ac9a356 (patch) | |
tree | 1c9928a4ed613cad63999ea89b5dcb2d289c1180 /app-laptop/laptop-mode-tools/files | |
parent | net-news/quiterss: whitespace (diff) | |
download | gentoo-4d33d6e63d5add27f56f5334cd7d72f63ac9a356.tar.gz gentoo-4d33d6e63d5add27f56f5334cd7d72f63ac9a356.tar.bz2 gentoo-4d33d6e63d5add27f56f5334cd7d72f63ac9a356.zip |
app-laptop/laptop-mode-tools: fix power-wireless iwconfig invocation
Package-Manager: Portage-2.3.13, Repoman-2.3.3
RepoMan-Options: --force
Diffstat (limited to 'app-laptop/laptop-mode-tools/files')
-rw-r--r-- | app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.71-wireless-power.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.71-wireless-power.patch b/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.71-wireless-power.patch new file mode 100644 index 000000000000..6d39d31e738c --- /dev/null +++ b/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.71-wireless-power.patch @@ -0,0 +1,27 @@ +From 3644486a9ee4fda7887fa0ecf224e66c4d12a0d2 Mon Sep 17 00:00:00 2001 +From: Ritesh Raj Sarraf <rrs@debian.org> +Date: Fri, 10 Mar 2017 14:37:03 +0530 +Subject: [PATCH] Fix correct program invocation + +Thanks: Mathias Rav +Closes: https://github.com/rickysarraf/laptop-mode-tools/issues/93 +--- + usr/share/laptop-mode-tools/modules/wireless-power | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/usr/share/laptop-mode-tools/modules/wireless-power b/usr/share/laptop-mode-tools/modules/wireless-power +index bd8277d..8800a89 100755 +--- a/usr/share/laptop-mode-tools/modules/wireless-power ++++ b/usr/share/laptop-mode-tools/modules/wireless-power +@@ -76,7 +76,7 @@ setPowerSave() { + if [ $ONOFF = "ON" ]; then + $IWCONFIG $IF txpower auto + else +- $IW dev $IF txpower fixed ++ $IWCONFIG $IF txpower fixed + fi + fi + } +-- +2.13.6 + |