iwlwifi: increase tx_queue debugfs buffer size
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 20 Nov 2009 20:04:59 +0000 (12:04 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 23 Nov 2009 22:05:34 +0000 (17:05 -0500)
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>
drivers/net/wireless/iwlwifi/iwl-debugfs.c

index e6194c8e7f72e9b5259568fbca65229e4ee54c6f..4630094b4ca1f0e5570e2a03874dafc648e13c31 100644 (file)
@@ -964,7 +964,7 @@ static ssize_t iwl_dbgfs_tx_queue_read(struct file *file,
        int pos = 0;
        int cnt;
        int ret;
-       const size_t bufsz = sizeof(char) * 60 * priv->cfg->num_of_queues;
+       const size_t bufsz = sizeof(char) * 64 * priv->cfg->num_of_queues;
 
        if (!priv->txq) {
                IWL_ERR(priv, "txq not ready\n");