Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 150725
b: refs/heads/master
c: d6f58c2
h: refs/heads/master
i:
  150723: d252279
v: v3
  • Loading branch information
Ron Mercer authored and David S. Miller committed Jun 8, 2009
1 parent 597e219 commit 204d9e2
Show file tree
Hide file tree
Showing 2 changed files with 8 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: df911e2dc4c59e259b65c502fe0679ade309b575
refs/heads/master: d6f58c2e63b4197cba99edd3a4c5c7f4935708fb
8 changes: 7 additions & 1 deletion trunk/drivers/net/qlge/qlge_mpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -831,13 +831,19 @@ void ql_mpi_work(struct work_struct *work)
container_of(work, struct ql_adapter, mpi_work.work);
struct mbox_params mbc;
struct mbox_params *mbcp = &mbc;
int err = 0;

mutex_lock(&qdev->mpi_mutex);

while (ql_read32(qdev, STS) & STS_PI) {
memset(mbcp, 0, sizeof(struct mbox_params));
mbcp->out_count = 1;
ql_mpi_handler(qdev, mbcp);
/* Don't continue if an async event
* did not complete properly.
*/
err = ql_mpi_handler(qdev, mbcp);
if (err)
break;
}

mutex_unlock(&qdev->mpi_mutex);
Expand Down

0 comments on commit 204d9e2

Please sign in to comment.