aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorSathya Perla <sathyap@serverengines.com>2009-08-16 20:58:41 -0400
committerDavid S. Miller <davem@davemloft.net>2009-08-17 20:48:29 -0400
commit1a8887d81ac4bbee6153b4bc9b9f9e099fb5f07e (patch)
tree79846d3190aa216769ecd9914d927b05e511b17e /drivers/net
parentb628bde2b5390776efc30837798d016ec1aa3ebe (diff)
be2net: destroy mcc queue before tx queues
As mcc queue uses the tx event queue. Signed-off-by: Sathya Perla <sathyap@serverengines.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/benet/be_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/benet/be_main.c b/drivers/net/benet/be_main.c
index 010175f4b8f1..7b9efee890f8 100644
--- a/drivers/net/benet/be_main.c
+++ b/drivers/net/benet/be_main.c
@@ -1655,12 +1655,12 @@ do_none:
1655 1655
1656static int be_clear(struct be_adapter *adapter) 1656static int be_clear(struct be_adapter *adapter)
1657{ 1657{
1658 be_mcc_queues_destroy(adapter);
1658 be_rx_queues_destroy(adapter); 1659 be_rx_queues_destroy(adapter);
1659 be_tx_queues_destroy(adapter); 1660 be_tx_queues_destroy(adapter);
1660 1661
1661 be_cmd_if_destroy(adapter, adapter->if_handle); 1662 be_cmd_if_destroy(adapter, adapter->if_handle);
1662 1663
1663 be_mcc_queues_destroy(adapter);
1664 return 0; 1664 return 0;
1665} 1665}
1666 1666