Skip to content

Commit

Permalink
iwlwifi: increase tx_queue debugfs buffer size
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wey-Yi Guy authored and John W. Linville committed Nov 23, 2009
1 parent 43e8511 commit d23db55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/iwlwifi/iwl-debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit d23db55

Please sign in to comment.