diff options
author | David S. Miller <davem@davemloft.net> | 2008-07-09 01:59:10 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-09 01:59:10 -0400 |
commit | 5aa709954a32a646c0cf14fdf7c8834db4ff1c03 (patch) | |
tree | 7aac1d47a2d49bbe27d8ad61600ede4c1a2c1b18 /drivers/isdn | |
parent | ee609cb36220d18c0cf476b066a5ab7e6f6d3a69 (diff) |
pkt_sched: Add qdisc_reset_all_tx().
Isolate callers that want to simply reset all the TX qdiscs from the
details of TX queues.
Use this in the ISDN code.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn')
-rw-r--r-- | drivers/isdn/i4l/isdn_net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/i4l/isdn_net.c b/drivers/isdn/i4l/isdn_net.c index 457bbd119f9b..bb904a0a98bd 100644 --- a/drivers/isdn/i4l/isdn_net.c +++ b/drivers/isdn/i4l/isdn_net.c | |||
@@ -287,7 +287,7 @@ isdn_net_unbind_channel(isdn_net_local * lp) | |||
287 | BEWARE! This chunk of code cannot be called from hardware | 287 | BEWARE! This chunk of code cannot be called from hardware |
288 | interrupt handler. I hope it is true. --ANK | 288 | interrupt handler. I hope it is true. --ANK |
289 | */ | 289 | */ |
290 | qdisc_reset(lp->netdev->dev->tx_queue.qdisc); | 290 | qdisc_reset_all_tx(lp->netdev->dev); |
291 | } | 291 | } |
292 | lp->dialstate = 0; | 292 | lp->dialstate = 0; |
293 | dev->rx_netdev[isdn_dc2minor(lp->isdn_device, lp->isdn_channel)] = NULL; | 293 | dev->rx_netdev[isdn_dc2minor(lp->isdn_device, lp->isdn_channel)] = NULL; |