Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 368638
b: refs/heads/master
c: 8559e7f
h: refs/heads/master
v: v3
  • Loading branch information
YOSHIFUJI Hideaki authored and Stefan Richter committed Mar 13, 2013
1 parent 36103f3 commit fc43376
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 111534cd7a376b75e72ddea0c6d00ec956ce3343
refs/heads/master: 8559e7f0694e3fb192aab00a495be5a510afc8c3
8 changes: 4 additions & 4 deletions trunk/drivers/firewire/net.c
Original file line number Diff line number Diff line change
Expand Up @@ -1295,9 +1295,12 @@ static int fwnet_open(struct net_device *net)
/* ifdown */
static int fwnet_stop(struct net_device *net)
{
struct fwnet_device *dev = netdev_priv(net);

netif_stop_queue(net);

/* Deallocate iso context for use by other applications? */
fwnet_broadcast_stop(dev);
fwnet_fifo_stop(dev);

return 0;
}
Expand Down Expand Up @@ -1638,9 +1641,6 @@ static int fwnet_remove(struct device *_dev)
if (list_empty(&dev->peer_list)) {
unregister_netdev(net);

fwnet_fifo_stop(dev);
fwnet_broadcast_stop(dev);

for (i = 0; dev->queued_datagrams && i < 5; i++)
ssleep(1);
WARN_ON(dev->queued_datagrams);
Expand Down

0 comments on commit fc43376

Please sign in to comment.