projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
175ec1a
)
[PATCH] airo: start with radio off
author
Michal Schmidt
<mschmidt@redhat.com>
Fri, 29 Jun 2007 13:33:52 +0000
(15:33 +0200)
committer
John W. Linville
<linville@tuxdriver.com>
Tue, 10 Jul 2007 18:11:29 +0000
(14:11 -0400)
Don't turn the radio on until the interface is up. This saves some power in
case the driver is loaded but the card is not used.
Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/airo.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wireless/airo.c
b/drivers/net/wireless/airo.c
index 6a3917b867e0a68bd7d506bb351be738cd09bb38..1c54908fdc4ce68e7c4b7ee1b24534bcfad83f1f 100644
(file)
--- a/
drivers/net/wireless/airo.c
+++ b/
drivers/net/wireless/airo.c
@@
-2831,7
+2831,7
@@
static struct net_device *_init_airo_card( unsigned short irq, int port,
ai = dev->priv;
ai->wifidev = NULL;
- ai->flags =
0
;
+ ai->flags =
1 << FLAG_RADIO_DOWN
;
ai->jobs = 0;
ai->dev = dev;
if (pci && (pci->device == 0x5000 || pci->device == 0xa504)) {