qlcnic: Fix number of arguments in destroy tx context command
authorRajesh Borundia <rajesh.borundia@qlogic.com>
Tue, 14 Oct 2014 11:41:46 +0000 (07:41 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Oct 2014 21:05:18 +0000 (17:05 -0400)
o Number of arguments taken by destroy tx command is three
  instead of two.

Signed-off-by: Rajesh Borundia <rajesh.borundia@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c

index 243752f3a0a79776f1c08aac5a8eb81b8c0ac62b..6e6f18fc5d7698b08be53682ebafbd2ff1ce614c 100644 (file)
@@ -11,7 +11,7 @@ static const struct qlcnic_mailbox_metadata qlcnic_mbx_tbl[] = {
        {QLCNIC_CMD_CREATE_RX_CTX, 4, 1},
        {QLCNIC_CMD_DESTROY_RX_CTX, 2, 1},
        {QLCNIC_CMD_CREATE_TX_CTX, 4, 1},
-       {QLCNIC_CMD_DESTROY_TX_CTX, 2, 1},
+       {QLCNIC_CMD_DESTROY_TX_CTX, 3, 1},
        {QLCNIC_CMD_INTRPT_TEST, 4, 1},
        {QLCNIC_CMD_SET_MTU, 4, 1},
        {QLCNIC_CMD_READ_PHY, 4, 2},