diff options
author | Bing Zhao <bzhao@marvell.com> | 2013-01-30 22:56:02 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-02-01 14:27:23 -0500 |
commit | 5e3175fb6755a3d4ec073c0e739581b23b3855dc (patch) | |
tree | 9ea547c2472a574bbeefd86206fd480613e9b059 /drivers/net/wireless/mwifiex/sta_cmdresp.c | |
parent | 62749238d1af581d01169f59ebbde4811c3c3143 (diff) |
mwifiex: remove max_tx_buf_size
max_tx_buf_size is not used any more after reconfiguration of
tx buffer size has been removed.
Also add missing curr_tx_buf_size update while dumping debug info
via debugfs.
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/sta_cmdresp.c')
-rw-r--r-- | drivers/net/wireless/mwifiex/sta_cmdresp.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/mwifiex/sta_cmdresp.c b/drivers/net/wireless/mwifiex/sta_cmdresp.c index 65c12eb3e5e7..847056415ac9 100644 --- a/drivers/net/wireless/mwifiex/sta_cmdresp.c +++ b/drivers/net/wireless/mwifiex/sta_cmdresp.c | |||
@@ -935,9 +935,8 @@ int mwifiex_process_sta_cmdresp(struct mwifiex_private *priv, u16 cmdresp_no, | |||
935 | / MWIFIEX_SDIO_BLOCK_SIZE) | 935 | / MWIFIEX_SDIO_BLOCK_SIZE) |
936 | * MWIFIEX_SDIO_BLOCK_SIZE; | 936 | * MWIFIEX_SDIO_BLOCK_SIZE; |
937 | adapter->curr_tx_buf_size = adapter->tx_buf_size; | 937 | adapter->curr_tx_buf_size = adapter->tx_buf_size; |
938 | dev_dbg(adapter->dev, | 938 | dev_dbg(adapter->dev, "cmd: curr_tx_buf_size=%d\n", |
939 | "cmd: max_tx_buf_size=%d, tx_buf_size=%d\n", | 939 | adapter->curr_tx_buf_size); |
940 | adapter->max_tx_buf_size, adapter->tx_buf_size); | ||
941 | 940 | ||
942 | if (adapter->if_ops.update_mp_end_port) | 941 | if (adapter->if_ops.update_mp_end_port) |
943 | adapter->if_ops.update_mp_end_port(adapter, | 942 | adapter->if_ops.update_mp_end_port(adapter, |