htcleo: add fix for PPP bug

It's a hack, we have to find out why we have to remove the mutexes
This commit is contained in:
Markinus 2010-09-04 11:17:45 +02:00
parent a49a2bde4b
commit 478e27eb7a

View File

@ -204,12 +204,12 @@ static int smd_tty_write(struct tty_struct *tty,
** never be able to write more data than there
** is currently space for
*/
mutex_lock(&smd_tty_lock);
// mutex_lock(&smd_tty_lock);
avail = smd_write_avail(info->ch);
if (len > avail)
len = avail;
ret = smd_write(info->ch, buf, len);
mutex_unlock(&smd_tty_lock);
// mutex_unlock(&smd_tty_lock);
return ret;
}