diff options
Diffstat (limited to 'drivers/net/wireless/ath')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/debug.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/debug.c b/drivers/net/wireless/ath/ath6kl/debug.c index 2bcd45095eb9..496382f472de 100644 --- a/drivers/net/wireless/ath/ath6kl/debug.c +++ b/drivers/net/wireless/ath/ath6kl/debug.c | |||
@@ -407,8 +407,10 @@ static ssize_t ath6kl_fwlog_block_read(struct file *file, | |||
407 | 407 | ||
408 | ret = wait_for_completion_interruptible( | 408 | ret = wait_for_completion_interruptible( |
409 | &ar->debug.fwlog_completion); | 409 | &ar->debug.fwlog_completion); |
410 | if (ret == -ERESTARTSYS) | 410 | if (ret == -ERESTARTSYS) { |
411 | vfree(buf); | ||
411 | return ret; | 412 | return ret; |
413 | } | ||
412 | 414 | ||
413 | spin_lock(&ar->debug.fwlog_queue.lock); | 415 | spin_lock(&ar->debug.fwlog_queue.lock); |
414 | } | 416 | } |