aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWey-Yi Guy <wey-yi.w.guy@intel.com>2009-11-20 15:04:59 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-11-23 17:05:34 -0500
commitd23db556819c00d297c0f447bdd75b282d563122 (patch)
tree63c4b67915f0e29dfb741354ac5569f649230dca
parent43e851157adb966dd633e983b24040f72877737e (diff)
iwlwifi: increase tx_queue debugfs buffer size
For tx_queue, need to increase the buffer size allocated for it, so all the queues information can be displayed Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-debugfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-debugfs.c b/drivers/net/wireless/iwlwifi/iwl-debugfs.c
index e6194c8e7f72..4630094b4ca1 100644
--- a/drivers/net/wireless/iwlwifi/iwl-debugfs.c
+++ b/drivers/net/wireless/iwlwifi/iwl-debugfs.c
@@ -964,7 +964,7 @@ static ssize_t iwl_dbgfs_tx_queue_read(struct file *file,
964 int pos = 0; 964 int pos = 0;
965 int cnt; 965 int cnt;
966 int ret; 966 int ret;
967 const size_t bufsz = sizeof(char) * 60 * priv->cfg->num_of_queues; 967 const size_t bufsz = sizeof(char) * 64 * priv->cfg->num_of_queues;
968 968
969 if (!priv->txq) { 969 if (!priv->txq) {
970 IWL_ERR(priv, "txq not ready\n"); 970 IWL_ERR(priv, "txq not ready\n");