diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2007-06-29 15:33:52 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2007-07-10 14:11:29 -0400 |
commit | fb038c279694638cb3cd24d496062ae38700f542 (patch) | |
tree | 64f9a8d3706dcbbc29e123a84df12f9354c91d4b /drivers/net | |
parent | 175ec1a1fa78c784f5f99ad56c2274f58bcb35f1 (diff) | |
download | op-kernel-dev-fb038c279694638cb3cd24d496062ae38700f542.zip op-kernel-dev-fb038c279694638cb3cd24d496062ae38700f542.tar.gz |
[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')
-rw-r--r-- | drivers/net/wireless/airo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/airo.c b/drivers/net/wireless/airo.c index 6a3917b..1c54908 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)) { |