Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 81830
b: refs/heads/master
c: fdfb92e
h: refs/heads/master
v: v3
  • Loading branch information
Holger Schurig authored and David S. Miller committed Feb 1, 2008
1 parent 9225c64 commit 4d18f39
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 5a6e04345abf04f543373f45081d109d13d96822
refs/heads/master: fdfb92eab5a60f3060d4513182212d5ca9913cd1
6 changes: 3 additions & 3 deletions trunk/drivers/net/wireless/libertas/if_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -249,14 +249,14 @@ static irqreturn_t if_cs_interrupt(int irq, void *data)
lbs_deb_enter(LBS_DEB_CS);

int_cause = if_cs_read16(card, IF_CS_C_INT_CAUSE);
if(int_cause == 0x0) {
if (int_cause == 0x0) {
/* Not for us */
return IRQ_NONE;

} else if (int_cause == 0xffff) {
/* Read in junk, the card has probably been removed */
card->priv->surpriseremoved = 1;

return IRQ_HANDLED;
} else {
if (int_cause & IF_CS_H_IC_TX_OVER)
lbs_host_to_card_done(card->priv);
Expand Down Expand Up @@ -717,8 +717,8 @@ static void if_cs_release(struct pcmcia_device *p_dev)

lbs_deb_enter(LBS_DEB_CS);

pcmcia_disable_device(p_dev);
free_irq(p_dev->irq.AssignedIRQ, card);
pcmcia_disable_device(p_dev);
if (card->iobase)
ioport_unmap(card->iobase);

Expand Down

0 comments on commit 4d18f39

Please sign in to comment.