aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/airo.c
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2007-06-29 09:33:52 -0400
committerJohn W. Linville <linville@tuxdriver.com>2007-07-10 14:11:29 -0400
commitfb038c279694638cb3cd24d496062ae38700f542 (patch)
tree64f9a8d3706dcbbc29e123a84df12f9354c91d4b /drivers/net/wireless/airo.c
parent175ec1a1fa78c784f5f99ad56c2274f58bcb35f1 (diff)
[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,
2831 2831
2832 ai = dev->priv; 2832 ai = dev->priv;
2833 ai->wifidev = NULL; 2833 ai->wifidev = NULL;
2834 ai->flags = 0; 2834 ai->flags = 1 << FLAG_RADIO_DOWN;
2835 ai->jobs = 0; 2835 ai->jobs = 0;
2836 ai->dev = dev; 2836 ai->dev = dev;
2837 if (pci && (pci->device == 0x5000 || pci->device == 0xa504)) { 2837 if (pci && (pci->device == 0x5000 || pci->device == 0xa504)) {