Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 193975
b: refs/heads/master
c: ba5d47c
h: refs/heads/master
i:
  193973: 8ad5231
  193971: 5b74cc3
  193967: ccf26e3
v: v3
  • Loading branch information
Kuninori Morimoto authored and David S. Miller committed Apr 7, 2010
1 parent 3768261 commit 16acac4
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 842509b8591fd9a40f5532a5f049bd29804af6d6
refs/heads/master: ba5d47cf4313e86afe046d402b8cfe7b2bca911d
4 changes: 3 additions & 1 deletion trunk/drivers/net/irda/sh_sir.c
Original file line number Diff line number Diff line change
Expand Up @@ -645,8 +645,10 @@ static int sh_sir_open(struct net_device *ndev)
sh_sir_set_baudrate(self, 9600);

self->irlap = irlap_open(ndev, &self->qos, DRIVER_NAME);
if (!self->irlap)
if (!self->irlap) {
err = -ENODEV;
goto open_err;
}

/*
* Now enable the interrupt then start the queue
Expand Down

0 comments on commit 16acac4

Please sign in to comment.