Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 35226
b: refs/heads/master
c: 4c2be50
h: refs/heads/master
v: v3
  • Loading branch information
John W. Linville committed Aug 23, 2006
1 parent 50efa3f commit fe9a213
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 69758820a42da207bdc775d6eccf1f9fb67cd62e
refs/heads/master: 4c2be501b7e8695f8bdf4f7d5f51595ed55eea44
3 changes: 3 additions & 0 deletions trunk/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 trunk/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 fe9a213

Please sign in to comment.