|
|
@@ -283,9 +283,9 @@ static void delay_work_func(struct work_struct *work)
|
|
|
wake_up_interruptible(&chardev_dev->read_queue);
|
|
|
}
|
|
|
|
|
|
- if(rst_flag >= 3)
|
|
|
+ if(rst_flag >= 1)
|
|
|
{
|
|
|
- chardev_dev->status = 'R';
|
|
|
+ chardev_dev->status = 'P';
|
|
|
chardev_dev->data_len = 1;
|
|
|
wake_up_interruptible(&chardev_dev->read_queue);
|
|
|
}
|