Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 108796
b: refs/heads/master
c: 731fd79
h: refs/heads/master
v: v3
  • Loading branch information
Matt Carlson authored and David S. Miller committed Aug 15, 2008
1 parent dafa959 commit 2ba0415
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 77b483f132ba25edf4ef455dd87a91ab7bbf4170
refs/heads/master: 731fd79c133dc04cabee17ecfa7661189a8df5c8
2 changes: 1 addition & 1 deletion trunk/drivers/net/tg3.c
Original file line number Diff line number Diff line change
Expand Up @@ -5495,7 +5495,7 @@ static void tg3_ape_send_event(struct tg3 *tp, u32 event)
return;

apedata = tg3_ape_read32(tp, TG3_APE_FW_STATUS);
if (apedata != APE_FW_STATUS_READY)
if (!(apedata & APE_FW_STATUS_READY))
return;

/* Wait for up to 1 millisecond for APE to service previous event. */
Expand Down

0 comments on commit 2ba0415

Please sign in to comment.