Skip to content

Commit

Permalink
Merge branch 'upstream-fixes' into upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
John W. Linville committed Aug 23, 2006
2 parents 6975882 + 9b5cce0 commit 4c2be50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions drivers/net/wireless/hostap/hostap_hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -1042,6 +1042,9 @@ static int prism2_reset_port(struct net_device *dev)
dev->name, local->fragm_threshold);
}

/* Some firmwares lose antenna selection settings on reset */
(void) hostap_set_antsel(local);

return res;
}

Expand Down
2 changes: 1 addition & 1 deletion drivers/net/wireless/spectrum_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ spectrum_reset(struct pcmcia_device *link, int idle)
u_int save_cor;

/* Doing it if hardware is gone is guaranteed crash */
if (pcmcia_dev_present(link))
if (!pcmcia_dev_present(link))
return -ENODEV;

/* Save original COR value */
Expand Down

0 comments on commit 4c2be50

Please sign in to comment.