summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/util.c
diff options
context:
space:
mode:
authorBing Zhao2013-01-31 04:56:02 +0100
committerJohn W. Linville2013-02-01 20:27:23 +0100
commit5e3175fb6755a3d4ec073c0e739581b23b3855dc (patch)
tree9ea547c2472a574bbeefd86206fd480613e9b059 /drivers/net/wireless/mwifiex/util.c
parentmwifiex: do not reconfigure tx buffer size in firmware while associating (diff)
downloadkernel-qcow2-linux-5e3175fb6755a3d4ec073c0e739581b23b3855dc.tar.gz
kernel-qcow2-linux-5e3175fb6755a3d4ec073c0e739581b23b3855dc.tar.xz
kernel-qcow2-linux-5e3175fb6755a3d4ec073c0e739581b23b3855dc.zip
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/util.c')
-rw-r--r--drivers/net/wireless/mwifiex/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/util.c b/drivers/net/wireless/mwifiex/util.c
index 0982375ba3b1..21553976b550 100644
--- a/drivers/net/wireless/mwifiex/util.c
+++ b/drivers/net/wireless/mwifiex/util.c
@@ -91,7 +91,7 @@ int mwifiex_get_debug_info(struct mwifiex_private *priv,
memcpy(info->packets_out,
priv->wmm.packets_out,
sizeof(priv->wmm.packets_out));
- info->max_tx_buf_size = (u32) adapter->max_tx_buf_size;
+ info->curr_tx_buf_size = (u32) adapter->curr_tx_buf_size;
info->tx_buf_size = (u32) adapter->tx_buf_size;
info->rx_tbl_num = mwifiex_get_rx_reorder_tbl(priv,
info->rx_tbl);