devuart: make sure uart is enabled in uartkick()

This commit is contained in:
cinap_lenrek 2019-07-11 07:45:34 +02:00
parent 54f9b36720
commit 7111de631c

View file

@ -644,7 +644,7 @@ uartkick(void *v)
{
Uart *p = v;
if(p->blocked)
if(!p->enabled || p->blocked)
return;
ilock(&p->tlock);