devuart: make sure uart is enabled in uartkick()
This commit is contained in:
parent
54f9b36720
commit
7111de631c
1 changed files with 1 additions and 1 deletions
|
@ -644,7 +644,7 @@ uartkick(void *v)
|
|||
{
|
||||
Uart *p = v;
|
||||
|
||||
if(p->blocked)
|
||||
if(!p->enabled || p->blocked)
|
||||
return;
|
||||
|
||||
ilock(&p->tlock);
|
||||
|
|
Loading…
Reference in a new issue