iwlwifi: print limited number of event log when uCode error
[safe/jmp/linux-2.6] / drivers / net / wireless / iwlwifi / iwl-debugfs.c
index 5adf0b6..21e0f66 100644 (file)
@@ -436,7 +436,7 @@ static ssize_t iwl_dbgfs_log_event_write(struct file *file,
        if (sscanf(buf, "%d", &event_log_flag) != 1)
                return -EFAULT;
        if (event_log_flag == 1)
-               priv->cfg->ops->lib->dump_nic_event_log(priv);
+               priv->cfg->ops->lib->dump_nic_event_log(priv, true);
 
        return count;
 }