Skip to content

Commit

Permalink
[PATCH] airo: start with radio off
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michal Schmidt authored and John W. Linville committed Jul 10, 2007
1 parent 175ec1a commit fb038c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/airo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit fb038c2

Please sign in to comment.