summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/airo.c
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2007-06-29 15:33:52 +0200
committerJohn W. Linville <linville@tuxdriver.com>2007-07-10 20:11:29 +0200
commitfb038c279694638cb3cd24d496062ae38700f542 (patch)
tree64f9a8d3706dcbbc29e123a84df12f9354c91d4b /drivers/net/wireless/airo.c
parent[PATCH] airo: simpler calling convention for enable_MAC() (diff)
downloadlinux-fb038c279694638cb3cd24d496062ae38700f542.tar.xz
linux-fb038c279694638cb3cd24d496062ae38700f542.zip
[PATCH] airo: start with radio off
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>
Diffstat (limited to 'drivers/net/wireless/airo.c')
-rw-r--r--drivers/net/wireless/airo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/airo.c b/drivers/net/wireless/airo.c
index 6a3917b867e0..1c54908fdc4c 100644
--- 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)) {