|
@@ -566,6 +566,7 @@ static ssize_t ac_read (struct file *filp, char __user *buf, size_t count, loff_
|
|
struct mailbox mailbox;
|
|
struct mailbox mailbox;
|
|
|
|
|
|
/* Got a packet for us */
|
|
/* Got a packet for us */
|
|
|
|
+ memset(&st_loc, 0, sizeof(st_loc));
|
|
ret = do_ac_read(i, buf, &st_loc, &mailbox);
|
|
ret = do_ac_read(i, buf, &st_loc, &mailbox);
|
|
spin_unlock_irqrestore(&apbs[i].mutex, flags);
|
|
spin_unlock_irqrestore(&apbs[i].mutex, flags);
|
|
set_current_state(TASK_RUNNING);
|
|
set_current_state(TASK_RUNNING);
|