Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166245
b: refs/heads/master
c: 6ef57a0
h: refs/heads/master
i:
  166243: 581d50d
v: v3
  • Loading branch information
Michael Chan authored and David S. Miller committed Sep 22, 2009
1 parent d7e3d76 commit f4e328b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 68f40152747da28ae0de21633c9062671448b66c
refs/heads/master: 6ef57a0ea77e7bf4123a06da895a0e26312b5737
4 changes: 2 additions & 2 deletions trunk/drivers/net/cnic.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ static int cnic_uio_open(struct uio_info *uinfo, struct inode *inode)

cp->uio_dev = iminor(inode);

cnic_shutdown_bnx2_rx_ring(dev);

cnic_init_bnx2_tx_ring(dev);
cnic_init_bnx2_rx_ring(dev);

Expand All @@ -98,6 +96,8 @@ static int cnic_uio_close(struct uio_info *uinfo, struct inode *inode)
struct cnic_dev *dev = uinfo->priv;
struct cnic_local *cp = dev->cnic_priv;

cnic_shutdown_bnx2_rx_ring(dev);

cp->uio_dev = -1;
return 0;
}
Expand Down

0 comments on commit f4e328b

Please sign in to comment.