projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee7ebdf
)
[PATCH] orinoco: fix setting power management parameters
author
Pavel Roskin
<proski@gnu.org>
Tue, 29 Nov 2005 07:59:27 +0000
(
02:59
-0500)
committer
Jeff Garzik
<jgarzik@pobox.com>
Thu, 1 Dec 2005 07:28:56 +0000
(
02:28
-0500)
Power management parameters could not be set by iwconfig due to
incorrect error handling.
Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/wireless/orinoco.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wireless/orinoco.c
b/drivers/net/wireless/orinoco.c
index 488ab06fb79f46e81061f75d72c872121f286ee5..6fd0bf736830f4c7a0694005d32b50613f05818b 100644
(file)
--- a/
drivers/net/wireless/orinoco.c
+++ b/
drivers/net/wireless/orinoco.c
@@
-3512,9
+3512,8
@@
static int orinoco_ioctl_setpower(struct net_device *dev,
break;
default:
err = -EINVAL;
- }
- if (err)
goto out;
+ }
if (prq->flags & IW_POWER_TIMEOUT) {
priv->pm_on = 1;