Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 130119
b: refs/heads/master
c: 2add3ac
h: refs/heads/master
i:
  130117: 8c542ef
  130115: 6a5f4ad
  130111: 809068d
v: v3
  • Loading branch information
Eilon Greenstein authored and David S. Miller committed Jan 20, 2009
1 parent 87c1809 commit 457e547
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5a40e08e666e8caa1227333de41fd1e2cd84d4f5
refs/heads/master: 2add3acb11a26cc14b54669433ae6ace6406cbf2
3 changes: 3 additions & 0 deletions trunk/drivers/net/bnx2x_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -8107,6 +8107,9 @@ static int bnx2x_get_eeprom(struct net_device *dev,
struct bnx2x *bp = netdev_priv(dev);
int rc;

if (!netif_running(dev))
return -EAGAIN;

DP(BNX2X_MSG_NVM, "ethtool_eeprom: cmd %d\n"
DP_LEVEL " magic 0x%x offset 0x%x (%d) len 0x%x (%d)\n",
eeprom->cmd, eeprom->magic, eeprom->offset, eeprom->offset,
Expand Down

0 comments on commit 457e547

Please sign in to comment.