Commit 7c219ac7 authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

[wireless airo] fix build with gcc 2.95

parent 06cdb4a9
......@@ -5662,9 +5662,10 @@ static int airo_get_power(struct net_device *dev,
char *extra)
{
struct airo_info *local = dev->priv;
int mode;
readConfigRid(local, 1);
int mode = local->config.powerSaveMode;
mode = local->config.powerSaveMode;
if ((vwrq->disabled = (mode == POWERSAVE_CAM)))
return 0;
if ((vwrq->flags & IW_POWER_TYPE) == IW_POWER_TIMEOUT) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment